Skip to content

Commit

Permalink
link to base images repo
Browse files Browse the repository at this point in the history
  • Loading branch information
wardi committed Apr 23, 2024
1 parent 5c550f4 commit 72eade8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 72eade8

Please sign in to comment.