mirror of
https://github.com/sickcodes/Docker-OSX.git
synced 2024-12-29 10:56:19 +00:00
Merge pull request #551 from aaronjamt/patch-1
This commit is contained in:
commit
e0d753030b
|
@ -93,6 +93,9 @@ RUN if [[ "${RANKMIRRORS}" ]]; then { pacman -Sy wget --noconfirm || pacman -Syu
|
||||||
&& tee -a /etc/pacman.d/mirrorlist <<< 'Server = https://mirror.rackspace.com/archlinux/$repo/os/$arch' \
|
&& tee -a /etc/pacman.d/mirrorlist <<< 'Server = https://mirror.rackspace.com/archlinux/$repo/os/$arch' \
|
||||||
&& cat /etc/pacman.d/mirrorlist ; fi
|
&& cat /etc/pacman.d/mirrorlist ; fi
|
||||||
|
|
||||||
|
# Fixes issue with invalid GPG keys: update the archlinux-keyring package to get the latest keys, then remove and regenerate gnupg keys
|
||||||
|
RUN pacman -Sy archlinux-keyring --noconfirm && rm -rf /etc/pacman.d/gnupg && pacman-key --init && pacman-key --populate
|
||||||
|
|
||||||
USER arch
|
USER arch
|
||||||
|
|
||||||
RUN yes | sudo pacman -Syyuu --noconfirm \
|
RUN yes | sudo pacman -Syyuu --noconfirm \
|
||||||
|
|
Loading…
Reference in a new issue