summaryrefslogtreecommitdiffstats
path: root/distribution/src/main
diff options
context:
space:
mode:
authorgongjief <jiegongj@isoftstone.com>2020-09-28 22:01:08 +0800
committercyuamber <xuranyjy@chinamobile.com>2020-09-28 22:08:16 +0800
commitb09744a7e2038f2db2918a0feca9cf47602ae9ef (patch)
tree0f013e9517ae04642ff4912da4f2530982d61afb /distribution/src/main
parent810e119c730778ce524bc9ddcfde09afa456d3fc (diff)
feat: modify dockerflie config
Change-Id: Ica16acbd3f400a9db7ab065172a3856d00e95f8e Issue-ID: USECASEUI-444 Signed-off-by: gongjief <jiegongj@isoftstone.com>
Diffstat (limited to 'distribution/src/main')
-rw-r--r--distribution/src/main/assembly/Dockerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/distribution/src/main/assembly/Dockerfile b/distribution/src/main/assembly/Dockerfile
index cfc6929b..d98460ea 100644
--- a/distribution/src/main/assembly/Dockerfile
+++ b/distribution/src/main/assembly/Dockerfile
@@ -12,7 +12,7 @@ RUN apt-get update && \
#configure the JDK
RUN sed -i 's|#networkaddress.cache.ttl=-1|networkaddress.cache.ttl=10|' /usr/lib/jvm/java-11-*/conf/security/java.security
ENV JAVA_HOME /usr/lib/jvm/java-11-*
-ENV PATH $PATH:/usr/lib/jvm/java-11-*/jre/bin
+ENV PATH $PATH:/usr/lib/jvm/java-11-openjdk-amd64/bin/java
ENV CLASSPATH .:${JAVA_HOME}/lib:${JRE_HOME}/lib
ENV JRE_HOME ${JAVA_HOME}/jre