summaryrefslogtreecommitdiffstats
path: root/distribution/src/main
diff options
context:
space:
mode:
authorcyuamber <xuranyjy@chinamobile.com>2020-09-29 10:46:25 +0800
committercyuamber <xuranyjy@chinamobile.com>2020-09-29 10:46:34 +0800
commitb1fb873d088f04bcdc3a7ecefe666426077f153d (patch)
treefea5ac290e4b3831e1f3bc5952dd09cf603692b0 /distribution/src/main
parentb09744a7e2038f2db2918a0feca9cf47602ae9ef (diff)
feat: modify dockerfile config and proxyconfig
Change-Id: Ieb371e7d5a126dcf29455cd7a600eec245dcc1f7 Issue-ID: USECASEUI-444 Signed-off-by: cyuamber <xuranyjy@chinamobile.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 d98460ea..b5761837 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-openjdk-amd64/bin/java
+ENV PATH $PATH:/usr/lib/jvm/java-11-*/bin
ENV CLASSPATH .:${JAVA_HOME}/lib:${JRE_HOME}/lib
ENV JRE_HOME ${JAVA_HOME}/jre