Skip to content

CKAN 2.12 images, image improvements#138

Draft
amercader wants to merge 3 commits into
mainfrom
ckan-2.12
Draft

CKAN 2.12 images, image improvements#138
amercader wants to merge 3 commits into
mainfrom
ckan-2.12

Conversation

@amercader
Copy link
Copy Markdown
Member

  • Use a builder stage to build the python requirements, copy them to the base image later
  • Consolidate file and ownership operations in single RUN commands to reduce the number of layers

This makes the images go down in size by ~40% for the base image

image 2.11 2.12
ckan-base 1.25 Gb 514 Mb
ckan-dev 1.33 Gb 1.01 Gb
  • Additionally, I dropped the granting of ownership to the whole /usr/local folder, and just granted it to the $APP_DIR

amercader added 3 commits May 12, 2026 21:43
* Use a builder stage to build the python requirements, copy them to the
  base image later
* Consolidate file and ownership operations in single RUN commands to
  reduce the number of layers

This makes the images go down by ~40% for the base image

| image     | 2.11    | 2.12    |
| --------- | ------- | ------- |
| ckan-base | 1.25 Gb | 514 Mb  |
| ckan-dev  | 1.33 Gb | 1.01 Gb |

Additionally, I dropped the granting of ownership to the whole
/usr/local folder, and just granted it to the $APP_DIR
@wardi wardi self-assigned this May 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants