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 authored and Foxboron committed Sep 14, 2024
1 parent a653325 commit dcd4c43
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 dcd4c43

Please sign in to comment.