WSL/SLF GitLab Repository

Commit 814e4967 authored by Sam's avatar Sam
Browse files

bugfix ckan dockerfile, permissions, add curl

parent 9df6d7bc
......@@ -80,6 +80,7 @@ RUN set -ex \
&& apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install \
-y --no-install-recommends \
curl \
libpcre3 \
postgresql-client \
libgeos-c1v5 \
......@@ -104,7 +105,7 @@ RUN /opt/python/.venv/bin/python -m pip install --no-cache --upgrade pip \
&& python -c "import compileall; compileall.compile_path(maxlevels=10, quiet=1)" \
&& useradd -r -u 900 -m -c "ckan account" -d $CKAN_HOME -s /bin/false ckan \
&& chmod +x /ckan-entrypoint.sh \
&& chown -R ckan:ckan $CKAN_HOME $CKAN_CONFIG
&& chown -R ckan:ckan $CKAN_HOME $CKAN_CONFIG /opt/python
ENTRYPOINT ["/ckan-entrypoint.sh"]
USER ckan
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment