Skip to content

Commit

Permalink
Fix path of java.security in Dockerfile
Browse files Browse the repository at this point in the history
Fixes quarkusio#16471
The path has changed with Java 11.

(cherry picked from commit a07bd52)
  • Loading branch information
gsmet committed Apr 26, 2021
1 parent cc03bf4 commit c1b1d0c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit c1b1d0c

Please sign in to comment.