From 79c28db2dc608cc01fbb21c2f1349e1a719e27c6 Mon Sep 17 00:00:00 2001 From: Konstantin Sivakov Date: Tue, 19 Feb 2019 11:02:17 +0100 Subject: [PATCH] Access denied bug fix --- rootfs/Dockerfile | 2 +- rootfs/setup/app/start_ckan.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rootfs/Dockerfile b/rootfs/Dockerfile index 05fd3e6..ee341e5 100644 --- a/rootfs/Dockerfile +++ b/rootfs/Dockerfile @@ -107,7 +107,7 @@ RUN pip install -e /srv/app/src/ckan && \ RUN rm -rf /srv/app/wheels # Create entrypoint directory for children image scripts -ONBUILD RUN mkdir /docker-entrypoint.d +ONBUILD RUN mkdir docker-entrypoint.d EXPOSE 5000 diff --git a/rootfs/setup/app/start_ckan.sh b/rootfs/setup/app/start_ckan.sh index d0dc6e7..e2e69a8 100755 --- a/rootfs/setup/app/start_ckan.sh +++ b/rootfs/setup/app/start_ckan.sh @@ -3,7 +3,7 @@ python prerun.py # Run any startup scripts provided by images extending this one -if [[ -d "/docker-entrypoint.d" ]] +if [[ -d "docker-entrypoint.d" ]] then for f in /docker-entrypoint.d/*; do case "$f" in