From 9e714857de91e08e042850499d1d08d3c8cd0e5f Mon Sep 17 00:00:00 2001 From: Sami Altamimi <139174515+saminaltamimi@users.noreply.github.com> Date: Mon, 12 Jan 2026 13:29:14 -0600 Subject: [PATCH] containerfile: remove redundant upgrade We can do pacman -Syu and that will have the same effect as running it manually. Saves a run-step. --- Containerfile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Containerfile b/Containerfile index e091192..3e3cdde 100644 --- a/Containerfile +++ b/Containerfile @@ -4,9 +4,7 @@ FROM docker.io/archlinux/archlinux:latest RUN grep "= */var" /etc/pacman.conf | sed "/= *\/var/s/.*=// ; s/ //" | xargs -n1 sh -c 'mkdir -p "/usr/lib/sysimage/$(dirname $(echo $1 | sed "s@/var/@@"))" && mv -v "$1" "/usr/lib/sysimage/$(echo "$1" | sed "s@/var/@@")"' '' && \ sed -i -e "/= *\/var/ s/^#//" -e "s@= */var@= /usr/lib/sysimage@g" -e "/DownloadUser/d" /etc/pacman.conf -RUN pacman -Syu --noconfirm - -RUN pacman -Sy --noconfirm base dracut linux linux-firmware ostree btrfs-progs e2fsprogs xfsprogs dosfstools skopeo dbus dbus-glib glib2 ostree shadow && pacman -S --clean --noconfirm +RUN pacman -Syu --noconfirm base dracut linux linux-firmware ostree btrfs-progs e2fsprogs xfsprogs dosfstools skopeo dbus dbus-glib glib2 ostree shadow && pacman -S --clean --noconfirm # https://github.com/bootc-dev/bootc/issues/1801 RUN --mount=type=tmpfs,dst=/tmp --mount=type=tmpfs,dst=/root \