From d490ddb03c6040a267907578d6fac557dd864051 Mon Sep 17 00:00:00 2001 From: vardhaman22 Date: Mon, 4 Mar 2024 16:45:51 +0530 Subject: [PATCH] added non-interactive option for zypper refresh command --- package/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/Dockerfile b/package/Dockerfile index 695b9e23..ba441480 100644 --- a/package/Dockerfile +++ b/package/Dockerfile @@ -20,7 +20,7 @@ COPY --from=micro / /chroot/ # OS binaries to run kube-bench audit commands. # Before removing dependencies here, ensure they are not needed by cis-operator, # security-scan or any of the existing kube-bench tests. -RUN zypper refresh && \ +RUN zypper --non-interactive refresh && \ zypper --installroot /chroot -n in --no-recommends findutils tar jq gawk diffutils procps systemd gzip curl && \ zypper --installroot /chroot clean -a && \ rm -rf /chroot/var/cache/zypp/* /chroot/var/log/zypp/*