diff options
Diffstat (limited to 'deliveries/Dockerfile.widgetms')
-rw-r--r-- | deliveries/Dockerfile.widgetms | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/deliveries/Dockerfile.widgetms b/deliveries/Dockerfile.widgetms index 49c899ea..82a2e4c6 100644 --- a/deliveries/Dockerfile.widgetms +++ b/deliveries/Dockerfile.widgetms @@ -1,7 +1,8 @@ # Large image # FROM openjdk:8-jdk # Tiny image; it includes java and nc -FROM openjdk:8-alpine +#FROM frolvlad/alpine-oraclejdk8:slim +FROM openjdk:8-jdk-alpine # Arguments are supplied by build script; # the defaults below only support testing @@ -13,5 +14,7 @@ RUN sh -c 'touch /app.jar' # Launch script COPY start-wms.sh / +RUN addgroup -g 1000 -S portal && adduser -u 1000 -S portal -G portal && mkdir logs / && chown -R portal:portal /start-wms.sh /tmp /etc/ssl/certs/java /logs && chmod -R 755 /start-wms.sh /etc/ssl/certs/java /logs /tmp + # Define default command CMD /start-wms.sh |