From bf9ed5b884523108d1620a2feda501e81d8c6a2b Mon Sep 17 00:00:00 2001 From: Brett Date: Tue, 19 Jul 2022 14:23:54 +0200 Subject: [PATCH] Update Dockerfile.dev --- ckan/Dockerfile.dev | 30 ++++++++++++++++++++++++++---- 1 file changed, 26 insertions(+), 4 deletions(-) diff --git a/ckan/Dockerfile.dev b/ckan/Dockerfile.dev index 0ca8683..55062da 100644 --- a/ckan/Dockerfile.dev +++ b/ckan/Dockerfile.dev @@ -12,11 +12,33 @@ RUN if ! [ /usr/share/zoneinfo/${TZ} -ef /etc/localtime ]; then \ fi ; # Install any extensions needed by your CKAN instance -# (Make sure to add the plugins to CKAN__PLUGINS in the .env file) +# - 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 +# or using Crudini (https://github.com/pixelb/crudini) +# # For instance: -#RUN pip install -e git+https://github.com/ckan/ckanext-pages.git#egg=ckanext-pages && \ -# pip install -e git+https://github.com/ckan/ckanext-dcat.git@v0.0.6#egg=ckanext-dcat && \ -# pip install -r https://raw.githubusercontent.com/ckan/ckanext-dcat/v0.0.6/requirements.txt +# +### XLoader ### +#RUN pip3 install -e 'git+https://github.com/ckan/ckanext-xloader.git@master#egg=ckanext-xloader' && \ +# pip3 install -r ${APP_DIR}/src/ckanext-xloader/requirements.txt && \ +# pip3 install -U requests[security] + +### Harvester ### +#RUN pip3 install -e 'git+https://github.com/ckan/ckanext-harvest.git@master#egg=ckanext-harvest' && \ +# pip3 install -r ${APP_DIR}/src/ckanext-harvest/pip-requirements.txt +# will also require gather_consumer and fetch_consumer processes running (please see https://github.com/ckan/ckanext-harvest) + +### Scheming ### +#RUN pip3 install -e 'git+https://github.com/ckan/ckanext-scheming.git@master#egg=ckanext-scheming' + +### Pages ### +#RUN pip3 install -e git+https://github.com/ckan/ckanext-pages.git#egg=ckanext-pages + +### DCAT ### +#RUN pip3 install -e git+https://github.com/ckan/ckanext-dcat.git@v0.0.6#egg=ckanext-dcat && \ +# pip3 install -r https://raw.githubusercontent.com/ckan/ckanext-dcat/v0.0.6/requirements.txt # Clone the extension(s) your are writing for your own project in the `src` folder # to get them mounted in this image at runtime