diff options
author | Sudarshan Kumar <sudarshan.kumar@att.com> | 2020-02-18 16:16:26 +0530 |
---|---|---|
committer | Sudarshan Kumar <sudarshan.kumar@att.com> | 2020-02-18 21:25:25 +0530 |
commit | 8e83c25788017acd56271a72286f7dcbc974e76d (patch) | |
tree | d7b1e52bc20367bbb38ae69483c33e71f341fd4b /deliveries/Dockerfile.widgetms | |
parent | 6e50276a42ab82cfe34ced9cf97e545283f37f2a (diff) |
Changes made to upgrade pom version
Upgraded pom version
Issue-ID: PORTAL-769
Change-Id: I65ae68acda464531d699dcb459d328de19a3c7c7
Signed-off-by: Sudarshan Kumar <sudarshan.kumar@att.com>
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 |