Minor tweaks to server image
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user