Skip to content

Commit

Permalink
Bump to Fedora 41
Browse files Browse the repository at this point in the history
This provides Go 1.23.

Compared to Fedora 40 images, this reduces the shipyard-dapper-base
image size from 775MiB to 723MiB. Only installing the QEMU binaries
that are needed further reduces that to 664MiB.

Signed-off-by: Stephen Kitt <skitt@redhat.com>
  • Loading branch information
skitt committed Sep 26, 2024
1 parent d3f6e3f commit dd3bbcb
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions package/Dockerfile.shipyard-dapper-base
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM fedora:40
FROM fedora:41

# Unless specified otherwise, compress to a medium level which gives (from experemintation) a
# good balance between compression time and resulting image size.
Expand Down Expand Up @@ -44,8 +44,9 @@ ENV HOST_ARCH=${DAPPER_HOST_ARCH} ARCH=${DAPPER_HOST_ARCH} PATH=/go/bin:/root/.l
# - Any unnecessary packages and executables
RUN dnf -y install --nodocs --setopt=install_weak_deps=False \
gcc git-core curl moby-engine make golang kubernetes-client \
findutils moreutils upx jq gitlint procps-ng pip\
qemu-user-static python3-jinja2-cli skopeo file unzip gh && \
findutils moreutils upx jq gitlint procps-ng pip \
qemu-user-static-aarch64 qemu-user-static-x86 \
python3-jinja2-cli skopeo file unzip gh && \
rpm -e --nodeps containerd && \
rpm -qa "selinux*" | xargs -r rpm -e --nodeps && \
dnf -y clean all && \
Expand Down

0 comments on commit dd3bbcb

Please sign in to comment.