Skip to content

Commit 573975d

Browse files
authored
Assume yes when using microdnf (strimzi#10157)
Signed-off-by: Jakub Scholz <[email protected]>
1 parent d0d8eeb commit 573975d

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

docker-images/base/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ ARG TARGETARCH
88

99
USER root
1010

11-
RUN microdnf update \
11+
RUN microdnf update -y \
1212
&& microdnf --setopt=install_weak_deps=0 --setopt=tsflags=nodocs install -y java-${JAVA_VERSION}-openjdk-headless openssl shadow-utils \
1313
&& microdnf reinstall -y tzdata \
14-
&& microdnf clean all
14+
&& microdnf clean all -y
1515

1616
ENV JAVA_HOME /usr/lib/jvm/jre-17
1717

docker-images/kafka-based/kafka/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ ARG TARGETOS
1010
ARG TARGETARCH
1111

1212
RUN microdnf --setopt=install_weak_deps=0 --setopt=tsflags=nodocs install -y gettext nmap-ncat net-tools unzip hostname findutils tar \
13-
&& microdnf clean all
13+
&& microdnf clean all -y
1414

1515
# Add kafka user with UID 1001
1616
# The user is in the group 0 to have access to the mounted volumes and storage

docker-images/maven-builder/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ USER root
99
RUN useradd -r -m -u 1001 -g 0 strimzi
1010

1111
RUN microdnf update -y \
12-
&& microdnf clean all
12+
&& microdnf clean all -y
1313

1414
USER 1001

0 commit comments

Comments
 (0)