Skip to content

Commit 6ecd031

Browse files
authored
Assume yes when using microdnf (#907)
Signed-off-by: Paolo Patierno <[email protected]>
1 parent 09ce422 commit 6ecd031

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ ARG TARGETPLATFORM
44

55
USER root
66

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

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

0 commit comments

Comments
 (0)