From b0e2fd3db099998b3a1c93afe92d00ceec5b5893 Mon Sep 17 00:00:00 2001 From: Joshua Seiger-Eatwell Date: Fri, 3 Jan 2025 09:42:26 +0100 Subject: [PATCH] added automatic staged updates --- Containerfile | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/Containerfile b/Containerfile index 54916c4..98f1dae 100644 --- a/Containerfile +++ b/Containerfile @@ -2,11 +2,9 @@ ARG FEDORA_MAJOR_VERSION=41 FROM quay.io/fedora-ostree-desktops/silverblue:${FEDORA_MAJOR_VERSION} -RUN rpm-ostree install \ - vim \ - ncdu - -RUN rpm-ostree override remove firefox firefox-langpacks - -RUN rpm-ostree cleanup -m && \ - ostree container commit +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 \ No newline at end of file