summaryrefslogtreecommitdiffstats
path: root/distribution/src/main/assembly
diff options
context:
space:
mode:
Diffstat (limited to 'distribution/src/main/assembly')
-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