From 58e628ae4687b4031bf8316cafac6821230fb32b Mon Sep 17 00:00:00 2001 From: Amber Connelly <113668892+ac-z@users.noreply.github.com> Date: Mon, 9 Sep 2024 15:31:47 -0700 Subject: [PATCH] Add man pages and progress bars to Arch Linux image Signed-off-by: Amber Connelly <113668892+ac-z@users.noreply.github.com> --- images/arch/Containerfile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/images/arch/Containerfile b/images/arch/Containerfile index 8e74fb10c..2cbc40702 100644 --- a/images/arch/Containerfile +++ b/images/arch/Containerfile @@ -12,6 +12,12 @@ COPY extra-packages / RUN pacman -Syu --needed --noconfirm - < extra-packages RUN rm /extra-packages +# Enable man pages, enable progress bars +RUN sed -i -e 's/NoProgressBar/#NoProgressBar/' -e 's/NoExtract/#NoExtract/' /etc/pacman.conf + +# Force reinstall of packages which have man pages (shouldn't redownload any that were just upgraded) +RUN mkdir -p /usr/share/man && pacman -Qo /usr/share/man | awk '{print $5}' | xargs pacman -S --noconfirm man-db + # Clean up cache RUN yes | pacman -Scc