Skip to content

Commit

Permalink
Assume yes when using microdnf (#907)
Browse files Browse the repository at this point in the history
Signed-off-by: Paolo Patierno <[email protected]>
  • Loading branch information
ppatierno authored May 25, 2024
1 parent 09ce422 commit 6ecd031
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ ARG TARGETPLATFORM

USER root

RUN microdnf update \
RUN microdnf update -y \
&& microdnf --setopt=install_weak_deps=0 --setopt=tsflags=nodocs install -y java-${JAVA_VERSION}-openjdk-headless openssl shadow-utils \
&& microdnf clean all
&& microdnf clean all -y

# Set JAVA_HOME env var
ENV JAVA_HOME /usr/lib/jvm/jre-${JAVA_VERSION}
Expand Down

0 comments on commit 6ecd031

Please sign in to comment.