From c1b1d0c6872efa75aec1bdef9eaff48efca20421 Mon Sep 17 00:00:00 2001 From: Guillaume Smet Date: Thu, 22 Apr 2021 14:42:11 +0200 Subject: [PATCH] Fix path of java.security in Dockerfile Fixes #16471 The path has changed with Java 11. (cherry picked from commit a07bd52dacfbfa13e3ad9d1eee0b95f0b8fffec5) --- .../tooling/dockerfiles/base/Dockerfile-layout.include.qute | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devtools/platform-descriptor-json/src/main/resources/codestarts/quarkus/core/tooling/dockerfiles/base/Dockerfile-layout.include.qute b/devtools/platform-descriptor-json/src/main/resources/codestarts/quarkus/core/tooling/dockerfiles/base/Dockerfile-layout.include.qute index 086a696004fb1..a3cd865662437 100644 --- a/devtools/platform-descriptor-json/src/main/resources/codestarts/quarkus/core/tooling/dockerfiles/base/Dockerfile-layout.include.qute +++ b/devtools/platform-descriptor-json/src/main/resources/codestarts/quarkus/core/tooling/dockerfiles/base/Dockerfile-layout.include.qute @@ -36,7 +36,7 @@ RUN microdnf install curl ca-certificates $\{JAVA_PACKAGE} \ && curl https://repo1.maven.org/maven2/io/fabric8/run-java-sh/$\{RUN_JAVA_VERSION}/run-java-sh-$\{RUN_JAVA_VERSION}-sh.sh -o /deployments/run-java.sh \ && chown 1001 /deployments/run-java.sh \ && chmod 540 /deployments/run-java.sh \ - && echo "securerandom.source=file:/dev/urandom" >> /etc/alternatives/jre/lib/security/java.security + && echo "securerandom.source=file:/dev/urandom" >> /etc/alternatives/jre/conf/security/java.security # Configure the JAVA_OPTIONS, you can add -XshowSettings:vm to also display the heap size. ENV JAVA_OPTIONS="-Dquarkus.http.host=0.0.0.0 -Djava.util.logging.manager=org.jboss.logmanager.LogManager"