summaryrefslogtreecommitdiffstats
path: root/base_sdc-jetty
diff options
context:
space:
mode:
Diffstat (limited to 'base_sdc-jetty')
-rw-r--r--base_sdc-jetty/Dockerfile7
1 files changed, 4 insertions, 3 deletions
diff --git a/base_sdc-jetty/Dockerfile b/base_sdc-jetty/Dockerfile
index a907169..41ee86f 100644
--- a/base_sdc-jetty/Dockerfile
+++ b/base_sdc-jetty/Dockerfile
@@ -30,9 +30,10 @@ RUN set -ex && \
RUN pip install pycurl
-COPY set_user.sh /tmp/set_user.sh
-
-RUN sh -x /tmp/set_user.sh && rm -f /tmp/set_user.sh
+# Replace Jetty user ID
+COPY set_jetty_user.sh /tmp/set_jetty_user.sh
+RUN sh -x /tmp/set_jetty_user.sh && rm -f /tmp/set_jetty_user.sh
+RUN chown -R jetty:jetty ${JETTY_BASE}/webapps /var/lib/jetty
USER jetty