Skip to content

Commit

Permalink
Revert "use -U directly"
Browse files Browse the repository at this point in the history
This reverts commit c9150bc.
  • Loading branch information
BoukeHaarsma23 committed Apr 11, 2024
1 parent c57e2bf commit e737553
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 pacman --noconfirm -U --overwrite '*' ${PACKAGE_OVERRIDES}; fi
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

USER build
ENV BUILD_USER "build"
Expand Down

0 comments on commit e737553

Please sign in to comment.