diff --git a/images/arch/Containerfile b/images/arch/Containerfile index 8e74fb10c..796604b36 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, enable colors, enable up to 15 parallel downloads +RUN sed -i -e 's/NoProgressBar/#NoProgressBar/' -e 's/#Color/Color/' -e 's/NoExtract/#NoExtract/' -e 's/ParallelDownloads = 5/ParallelDownloads = 15/' /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