WSL/SLF GitLab Repository
Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
EnviDat
ckan-container
Commits
814e4967
Commit
814e4967
authored
Jan 05, 2022
by
Sam
Browse files
bugfix ckan dockerfile, permissions, add curl
parent
9df6d7bc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Dockerfile
View file @
814e4967
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment