Created
November 6, 2015 04:26
-
-
Save ELLIOTTCABLE/2d3fb94b41b424efb321 to your computer and use it in GitHub Desktop.
Er, upgrading ArchLinux via Dockerfile? idk.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM base/archlinux | |
RUN pacman --noconfirm -S --needed archlinux-keyring && \ | |
pacman --noconfirm -S --needed openssl pacman && \ | |
pacman-key --init && \ | |
pacman-key --populate archlinux && \ | |
pacman-key --refresh-keys && \ | |
pacman-db-upgrade && \ | |
pacman --noconfirm -Syy && \ | |
pacman --noconfirm -S --needed archlinux-keyring && \ | |
pacman --noconfirm -S --needed openssl pacman && \ | |
pacman-db-upgrade && \ | |
pacman --noconfirm -Suu && \ | |
pacman --noconfirm -Rns $(pacman -Qdttq) && \ | |
pacman --noconfirm -Scc && \ | |
pacman-optimize && \ | |
find /etc/ -type f -name '*.pac*' -exec rm {} \; && \ | |
rm -rf /var/cache/pacman/pkg/* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment