diff options
author | Seshu Kumar M <seshu.kumar.m@huawei.com> | 2020-08-07 05:37:05 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-08-07 05:37:05 +0000 |
commit | 8d22b943bd389d81fe9ea10ee4c1f2d27326910a (patch) | |
tree | c209de35fdb6e9ae8e168e48caa60edf6ba04e96 /so-simulator/src/main/docker | |
parent | cdc8d1abcb4aceeb44eacd5df3a5a0ba817c3318 (diff) | |
parent | 258be88cb2a098dc526ec294b44b2859a6a845b7 (diff) |
Merge "changes for java 11 upgradation Issue-ID: SO-3082"
Diffstat (limited to 'so-simulator/src/main/docker')
-rw-r--r-- | so-simulator/src/main/docker/Dockerfile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/so-simulator/src/main/docker/Dockerfile b/so-simulator/src/main/docker/Dockerfile index 8fa8dc75e9..a64ec39f8a 100644 --- a/so-simulator/src/main/docker/Dockerfile +++ b/so-simulator/src/main/docker/Dockerfile @@ -1,4 +1,4 @@ -FROM docker.io/openjdk:8-jdk-alpine +FROM docker.io/openjdk:11-jre-slim #Create User so RUN addgroup -g 1000 so && adduser -S -u 1000 -G so so @@ -21,4 +21,4 @@ RUN chown -R so:so /app USER so -ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-jar","/app/app.jar"]
\ No newline at end of file +ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-jar","/app/app.jar"] |