From df3a78671e6056dc456f758208eca1e2376fbd69 Mon Sep 17 00:00:00 2001 From: cyuamber Date: Tue, 29 Sep 2020 14:15:13 +0800 Subject: fix: fix bug of dockerfile Change-Id: I625c9f92c5084d760290390d5fa11c75ecc7c92f Issue-ID: USECASEUI-484 Signed-off-by: cyuamber --- distribution/src/main/assembly/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/distribution/src/main/assembly/Dockerfile b/distribution/src/main/assembly/Dockerfile index b5761837..ca0dbd31 100644 --- a/distribution/src/main/assembly/Dockerfile +++ b/distribution/src/main/assembly/Dockerfile @@ -12,9 +12,9 @@ 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-*/bin +ENV PATH $PATH:/usr/lib/jvm/java-11-openjdk-amd64/bin ENV CLASSPATH .:${JAVA_HOME}/lib:${JRE_HOME}/lib -ENV JRE_HOME ${JAVA_HOME}/jre +ENV JRE_HOME ${JAVA_HOME} #add uui gui related resources to the docker image RUN mkdir /home/uui -- cgit 1.2.3-korg