Minor tweaks to server image

This commit is contained in:
Ben Radey
2025-11-09 07:01:51 -05:00
parent 7cbccd85e5
commit 2238a2ce8b
-7
View File
@@ -25,17 +25,11 @@ RUN dnf install -y \
# cleanup and verification stage
dnf clean all
# TODO: Remove the following line once this bug is fixed: https://github.com/coreos/rpm-ostree/issues/4201
RUN test -f /usr/bin/ld || ln -s /usr/bin/ld.bfd /usr/bin/ld
# Install zfs
RUN dnf install -y zfs && \
dkms autoinstall -k $(rpm -qa kernel --queryformat '%{VERSION}-%{RELEASE}.%{ARCH}') \
&& dnf clean all
# TODO: Remove the following line once this bug is fixed: https://github.com/coreos/rpm-ostree/issues/4201
RUN test -h /usr/bin/ld && rm -v /usr/bin/ld
# Install zrepl repository
COPY zrepl.asc /var/roothome/zrepl.asc
RUN rpm --import /var/roothome/zrepl.asc
@@ -87,4 +81,3 @@ RUN rm -rf /var && mkdir /var && \
# Verify image is good
RUN bootc container lint --fatal-warnings --skip baseimage-composefs