Skip to content

Commit

Permalink
use -U directly
Browse files Browse the repository at this point in the history
  • Loading branch information
BoukeHaarsma23 committed Apr 11, 2024
1 parent edf600f commit c9150bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ COPY manifest /manifest
# Freeze packages and overwrite with overrides when needed
RUN source /manifest && \
echo "Server=https://archive.archlinux.org/repos/${ARCHIVE_DATE}/\$repo/os/\$arch" > /etc/pacman.d/mirrorlist && \
pacman --noconfirm -Syyuu; if [ -n "${PACKAGE_OVERRIDES}" ]; then wget --directory-prefix=/tmp/extra_pkgs ${PACKAGE_OVERRIDES}; pacman --noconfirm -U --overwrite '*' /tmp/extra_pkgs/*; rm -rf /tmp/extra_pkgs; fi
pacman --noconfirm -Syyuu; if [ -n "${PACKAGE_OVERRIDES}" ]; then pacman --noconfirm -U --overwrite '*' ${PACKAGE_OVERRIDES}; fi

USER build
ENV BUILD_USER "build"
Expand Down

0 comments on commit c9150bc

Please sign in to comment.