Skip to content

Commit

Permalink
don't use pacman stdin
Browse files Browse the repository at this point in the history
  • Loading branch information
trevnels committed Feb 15, 2024
1 parent ad89fea commit 066a574
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ RUN sed -i 's|NoExtract = usr/share/man/\* usr/share/info/\*||' /etc/pacman.con
# restore manpages
RUN mkdir -p /usr/share/man
RUN pacman -Qqo /usr/share/man > to-reinstall
RUN pacman -Syu --noconfirm - < to-reinstall
RUN pacman -Syu --noconfirm $(cat /to-reinstall)
RUN rm /to-reinstall

# install normal packages
RUN pacman -S --noconfirm --needed $(cat /extra-packages)
Expand Down Expand Up @@ -56,4 +57,3 @@ RUN userdel -r build && \
rm -rf \
/tmp/* \
/var/cache/pacman/pkg/*
/to-reinstall

0 comments on commit 066a574

Please sign in to comment.