Skip to content

Commit

Permalink
Merge pull request rancher#194 from vardhaman22/zypper-cmd-fix
Browse files Browse the repository at this point in the history
added non-interactive option for zypper refresh command
  • Loading branch information
vardhaman22 authored Mar 4, 2024
2 parents e11290c + d490ddb commit 179507f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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/*
Expand Down

0 comments on commit 179507f

Please sign in to comment.