Skip to content

Commit

Permalink
Merge pull request rancher#213 from krunalhinguu/fix-bci-version-issue
Browse files Browse the repository at this point in the history
Update bci-micro version
  • Loading branch information
krunalhinguu authored Jul 1, 2024
2 parents e937a04 + af29336 commit ddf7c13
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions package/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Platform specific images which must support all target architectures.
FROM registry.suse.com/bci/bci-micro:15.5 AS final
FROM registry.suse.com/bci/bci-micro:15.6 AS final
FROM registry.suse.com/bci/golang:1.22 AS golang

# Builder and xx only need to support the host architecture.
FROM --platform=$BUILDPLATFORM rancher/mirrored-tonistiigi-xx:1.3.0 as xx
FROM --platform=$BUILDPLATFORM rancher/mirrored-tonistiigi-xx:1.3.0 AS xx
FROM --platform=$BUILDPLATFORM registry.suse.com/bci/golang:1.22 AS builder

# Bring xx supporting tools to the builder layer, but as it is at / it
Expand Down Expand Up @@ -39,7 +39,7 @@ COPY --from=golang /etc/zypp/ /chroot/etc/zypp/
# 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 --non-interactive refresh && \
RUN zypper --non-interactive --releasever=15.6 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/* /chroot/etc/zypp/
Expand Down

0 comments on commit ddf7c13

Please sign in to comment.