Skip to content

Commit

Permalink
updates jvm version
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaeltuelho committed Nov 16, 2021
1 parent d1338c4 commit 87c0ab2
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions management-console/src/main/docker/Dockerfile.jvm
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
###
FROM registry.access.redhat.com/ubi8/ubi-minimal:8.1

ARG JAVA_PACKAGE=java-1.8.0-openjdk-headless
ARG RUN_JAVA_VERSION=1.3.5
ARG JAVA_PACKAGE=java-11-openjdk-headless
ARG RUN_JAVA_VERSION=1.3.8

ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en'

Expand All @@ -38,10 +38,9 @@ RUN microdnf install openssl curl ca-certificates ${JAVA_PACKAGE} \
# 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"

COPY target/lib/* /deployments/lib/
COPY target/*-runner.jar /deployments/app.jar

EXPOSE 8080
USER 1001

ENTRYPOINT [ "/deployments/run-java.sh" ]
ENTRYPOINT [ "/deployments/run-java.sh" ]

0 comments on commit 87c0ab2

Please sign in to comment.