aboutsummaryrefslogtreecommitdiffstats
path: root/distributions/msb-apigateway/src/main/basedocker/Dockerfile
diff options
context:
space:
mode:
authorjinquanni <ni.jinquan@zte.com.cn>2021-08-24 12:40:52 +0800
committerjinquanni <ni.jinquan@zte.com.cn>2021-08-24 17:50:52 +0800
commita6e6712a7a1c1f5091c96e417ba6c6000c235087 (patch)
tree133d627acb0c3e6d6b29439bad58b894a8bc8057 /distributions/msb-apigateway/src/main/basedocker/Dockerfile
parentc26752494dd55fc006054f5b79993d289da28da5 (diff)
Update Java 8 to 11
Issue-ID: MSB-587 Signed-off-by: jinquanni <ni.jinquan@zte.com.cn> Change-Id: I7e3c38bed17dba548dc1ca83c4975eb73ed005a1
Diffstat (limited to 'distributions/msb-apigateway/src/main/basedocker/Dockerfile')
-rw-r--r--distributions/msb-apigateway/src/main/basedocker/Dockerfile8
1 files changed, 4 insertions, 4 deletions
diff --git a/distributions/msb-apigateway/src/main/basedocker/Dockerfile b/distributions/msb-apigateway/src/main/basedocker/Dockerfile
index 60fbe57..ba8b054 100644
--- a/distributions/msb-apigateway/src/main/basedocker/Dockerfile
+++ b/distributions/msb-apigateway/src/main/basedocker/Dockerfile
@@ -21,11 +21,11 @@ RUN { \
echo 'dirname "$(dirname "$(readlink -f "$(which javac || which java)")")"'; \
} > /usr/local/bin/docker-java-home \
&& chmod +x /usr/local/bin/docker-java-home
-ENV JAVA_HOME /usr/lib/jvm/java-1.8-openjdk
-ENV PATH $PATH:/usr/lib/jvm/java-1.8-openjdk/jre/bin:/usr/lib/jvm/java-1.8-openjdk/bin
+ENV JAVA_HOME /usr/lib/jvm/java-11-openjdk
+ENV PATH $PATH:/usr/lib/jvm/java-11-openjdk/jre/bin:/usr/lib/jvm/java-11-openjdk/bin
-ENV JAVA_VERSION 8u131
-ENV JAVA_ALPINE_VERSION 8.131.11-r2
+ENV JAVA_VERSION 11.0.9
+ENV JAVA_ALPINE_VERSION 11.0.9_p11-r1
RUN set -x \
&& apk add --no-cache \