From c5b3981b39a39b4db454dd2d362e810d8cd9ca6d Mon Sep 17 00:00:00 2001 From: amercader Date: Tue, 17 Oct 2023 12:47:08 +0200 Subject: [PATCH] Review extensions installation guidance --- ckan/Dockerfile | 2 ++ ckan/Dockerfile.dev | 15 ++++++--------- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/ckan/Dockerfile b/ckan/Dockerfile index e4d4118..ea89105 100644 --- a/ckan/Dockerfile +++ b/ckan/Dockerfile @@ -1,5 +1,7 @@ FROM ckan/ckan-base:2.10.1 +# Install any extensions needed by your CKAN instance +# See Dockerfile.dev for more details and examples # Copy custom initialization scripts COPY docker-entrypoint.d/* /docker-entrypoint.d/ diff --git a/ckan/Dockerfile.dev b/ckan/Dockerfile.dev index 2997362..58daceb 100644 --- a/ckan/Dockerfile.dev +++ b/ckan/Dockerfile.dev @@ -1,16 +1,13 @@ FROM ckan/ckan-dev:2.10.1 - -# Set up environment variables -ENV APP_DIR=/srv/app - # Install any extensions needed by your CKAN instance # - Make sure to add the plugins to CKAN__PLUGINS in the .env file -# - Also make sure all extra configuration options are added to the CKAN config file (ckan.ini) -# This can be done by creating an overriding start_ckan_dev_development.sh file: -# (https://github.com/ckan/ckan-docker-base/blob/main/ckan-2.9/dev/setup/start_ckan_development.sh) ie: updating the 'ckan config-tool' lines -# For more on config-tool please see https://docs.ckan.org/en/latest/maintaining/cli.html#config-tool-tool-for-editing-options-in-a-ckan-config-file -# or using Crudini (https://github.com/pixelb/crudini) +# - Also make sure all provide all extra configuration options, either by: +# * Adding them to the .env file (check the ckanext-envvars syntax for env vars), or +# * Adding extra configuration scripts to /docker-entrypoint.d folder) to update +# the CKAN config file (ckan.ini) with the `ckan config-tool` command +# +# See README > Extending the base images for more details # # For instance: #