Skip to content

Commit

Permalink
Add man pages to 'arch' 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 9, 2024
1 parent 76a8508 commit 3779bbf
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, 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

Expand Down

0 comments on commit 3779bbf

Please sign in to comment.