Update Dockerfile and Dockerfile.dev

This commit is contained in:
Brett 2024-09-09 15:31:29 +02:00
parent bf6d75195d
commit 56d492dd3e
2 changed files with 7 additions and 5 deletions

View File

@ -4,11 +4,13 @@ FROM ckan/ckan-base:2.11.0
# See Dockerfile.dev for more details and examples
# Copy custom initialization scripts
COPY docker-entrypoint.d/* /docker-entrypoint.d/
COPY --chown=ckan-sys:ckan-sys docker-entrypoint.d/* /docker-entrypoint.d/
# Apply any patches needed to CKAN core or any of the built extensions (not the
# runtime mounted ones)
COPY patches ${APP_DIR}/patches
COPY --chown=ckan-sys:ckan-sys patches ${APP_DIR}/patches
USER ckan
RUN for d in $APP_DIR/patches/*; do \
if [ -d $d ]; then \

View File

@ -1,4 +1,4 @@
FROM ckan/ckan-dev:2.11.0
FROM ckan/ckan-dev:2.11.0-py3.10
# Install any extensions needed by your CKAN instance
# - Make sure to add the plugins to CKAN__PLUGINS in the .env file
@ -35,11 +35,11 @@ FROM ckan/ckan-dev:2.11.0
# to get them mounted in this image at runtime
# Copy custom initialization scripts
COPY docker-entrypoint.d/* /docker-entrypoint.d/
COPY --chown=ckan-sys:ckan-sys docker-entrypoint.d/* /docker-entrypoint.d/
# Apply any patches needed to CKAN core or any of the built extensions (not the
# runtime mounted ones)
COPY patches ${APP_DIR}/patches
COPY --chown=ckan-sys:ckan-sys patches ${APP_DIR}/patches
RUN for d in $APP_DIR/patches/*; do \
if [ -d $d ]; then \