From 10576b5713dd53d98668ed5421f0c62ad6727031 Mon Sep 17 00:00:00 2001 From: "Areli, Fuss (af732p)" Date: Sun, 25 Mar 2018 14:22:44 +0300 Subject: Replace Jetty user id Replace Jetty user id to enable using it in multiple projects Change-Id: I0a68e3cf08efac94ca1dbc4ca6a3c5effde31101 Issue-ID: SDC-1162 Signed-off-by: Areli, Fuss (af732p) --- base_sdc-jetty/Dockerfile | 7 ++++--- 1 file 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 -- cgit 1.2.3-korg