Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
BrenoQVDS authored Nov 8, 2023
1 parent 500a66a commit e700225
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@
#
###
FROM registry.access.redhat.com/ubi8/ubi-minimal:8.6
ARG JAVA_PACKAGE=java-11-openjdk-headless
ARG JAVA_PACKAGE=java-11-openjdk-headless-1:11.0.21.0.9-2.el8.x86_64
ARG RUN_JAVA_VERSION=1.3.8
ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' \
HOME=/deployments
# Install java and the run-java script
# Also set up permissions for user `1001`
RUN microdnf install openssl curl ca-certificates ${JAVA_PACKAGE}
RUN microdnf update
RUN microdnf clean all \
RUN microdnf install openssl curl ca-certificates ${JAVA_PACKAGE} \
&& microdnf update \
&& microdnf clean all \
&& mkdir /deployments \
&& chmod ug+rwX /deployments \
&& 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 \
Expand Down

0 comments on commit e700225

Please sign in to comment.