Skip to content

Commit

Permalink
Add man pages and progress bars to Arch Linux image
Browse files Browse the repository at this point in the history
Signed-off-by: Amber Connelly <[email protected]>
  • Loading branch information
ac-z committed Sep 13, 2024
1 parent 76a8508 commit 58e628a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions images/arch/Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 58e628a

Please sign in to comment.