aboutsummaryrefslogtreecommitdiffstats
path: root/so-simulator/src
diff options
context:
space:
mode:
authorarun chapagain <arun.chapagain@huawei.com>2020-08-06 15:44:12 +0530
committerarun chapagain <arun.chapagain@huawei.com>2020-08-06 17:49:23 +0530
commit258be88cb2a098dc526ec294b44b2859a6a845b7 (patch)
treed81ad01faf496ca12b8d31e0932d289282684972 /so-simulator/src
parentf19e5c3f6b3ef48267c74a4f973089e742e55c6c (diff)
changes for java 11 upgradation
Issue-ID: SO-3082 Signed-off-by: arun chapagain <arun.chapagain@huawei.com> Change-Id: Icb14f1a29d06d828307f0acc23d4414fecbbfaa3
Diffstat (limited to 'so-simulator/src')
-rw-r--r--so-simulator/src/main/docker/Dockerfile4
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"]