diff options
author | cyuamber <xuranyjy@chinamobile.com> | 2020-09-29 15:25:46 +0800 |
---|---|---|
committer | cyuamber <xuranyjy@chinamobile.com> | 2020-09-29 15:25:53 +0800 |
commit | d93cf4a6fc2980f5421ff408398d4fdd0a4690b9 (patch) | |
tree | 6211da563ca8688ca93b1decb209f419eacb138a /distribution | |
parent | df3a78671e6056dc456f758208eca1e2376fbd69 (diff) |
fix: fix bug3.0.6
Change-Id: I3b93f9010467b0cee8622207a46e7ae0ce38bb32
Issue-ID: USECASEUI-480
Signed-off-by: cyuamber <xuranyjy@chinamobile.com>
Diffstat (limited to 'distribution')
-rw-r--r-- | distribution/src/main/assembly/Dockerfile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/distribution/src/main/assembly/Dockerfile b/distribution/src/main/assembly/Dockerfile index ca0dbd31..3cb27b12 100644 --- a/distribution/src/main/assembly/Dockerfile +++ b/distribution/src/main/assembly/Dockerfile @@ -10,8 +10,8 @@ RUN apt-get update && \ apt-get install -y openjdk-11-jdk #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-* +RUN sed -i 's|#networkaddress.cache.ttl=-1|networkaddress.cache.ttl=10|' /usr/lib/jvm/java-11-openjdk-amd64/conf/security/java.security +ENV JAVA_HOME /usr/lib/jvm/java-11-openjdk-amd64 ENV PATH $PATH:/usr/lib/jvm/java-11-openjdk-amd64/bin ENV CLASSPATH .:${JAVA_HOME}/lib:${JRE_HOME}/lib ENV JRE_HOME ${JAVA_HOME} |