summaryrefslogtreecommitdiffstats
path: root/distribution/src/main/assembly/Dockerfile
diff options
context:
space:
mode:
authorcyuamber <xuranyjy@chinamobile.com>2020-09-29 14:15:13 +0800
committercyuamber <xuranyjy@chinamobile.com>2020-09-29 14:15:18 +0800
commitdf3a78671e6056dc456f758208eca1e2376fbd69 (patch)
tree6416528baba01266898fd9bea080e72b83aed429 /distribution/src/main/assembly/Dockerfile
parentb1fb873d088f04bcdc3a7ecefe666426077f153d (diff)
fix: fix bug of dockerfile
Change-Id: I625c9f92c5084d760290390d5fa11c75ecc7c92f Issue-ID: USECASEUI-484 Signed-off-by: cyuamber <xuranyjy@chinamobile.com>
Diffstat (limited to 'distribution/src/main/assembly/Dockerfile')
-rw-r--r--distribution/src/main/assembly/Dockerfile4
1 files 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