link to base images repo

This commit is contained in:
Ian Ward 2024-04-23 16:40:11 -04:00
parent 5c550f4cd1
commit 72eade8cca
1 changed files with 3 additions and 1 deletions

View File

@ -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:<new version>`
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.