switched to use bootc and dnf commands
Some checks failed
Build Silverblue Image / build-push (push) Failing after 4m52s

This commit is contained in:
Joshua Seiger-Eatwell 2025-01-09 23:10:49 +01:00
parent 1efb2201a5
commit 520faf6ff6

View File

@ -2,9 +2,8 @@ ARG FEDORA_MAJOR_VERSION=41
FROM quay.io/fedora-ostree-desktops/silverblue:${FEDORA_MAJOR_VERSION}
RUN rpm-ostree install vim ncdu && \
rpm-ostree override remove firefox firefox-langpacks && \
sed -i 's/#AutomaticUpdatePolicy.*/AutomaticUpdatePolicy=stage/' /etc/rpm-ostreed.conf && \
systemctl enable rpm-ostreed-automatic.timer && \
rpm-ostree cleanup -m && \
ostree container commit
RUN dnf install vim ncdu && \
dnf remove firefox firefox-langpacks && \
systemctl enable bootc-fetch-apply-updates.timer && \
ostree container commit && \
bootc container lint