From 72eade8ccad2eb2275af5f2bf52ed5ed74dc1b44 Mon Sep 17 00:00:00 2001 From: Ian Ward Date: Tue, 23 Apr 2024 16:40:11 -0400 Subject: [PATCH] link to base images repo --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 7eecac3..da7b817 100644 --- a/README.md +++ b/README.md @@ -97,7 +97,7 @@ To start the containers: docker compose -f docker-compose.dev.yml up -See [CKAN Images](#5--ckan-images) for more details of what happens when using development mode. +See [CKAN images](#5-ckan-images) for more details of what happens when using development mode. #### Create an extension @@ -142,6 +142,8 @@ The Docker image config files used to build your CKAN project are located in the ### Extending the base images +The CKAN base images are built from https://github.com/ckan/ckan-docker-base/ + You can modify the docker files to build your own customized image tailored to your project, installing any extensions and extra requirements needed. For example here is where you would update to use a different CKAN base image ie: `ckan/ckan-base:` To perform extra initialization steps you can add scripts to your custom images and copy them to the `/docker-entrypoint.d` folder (The folder should be created for you when you build the image). Any `*.sh` and `*.py` file in that folder will be executed just after the main initialization script ([`prerun.py`](https://github.com/ckan/ckan-docker-base/blob/main/ckan-2.9/base/setup/prerun.py)) is executed and just before the web server and supervisor processes are started.