Dockerfile: Upgrade pacman early

Otherwise we have a pacman without hook support which fails to e.g. run
update-ca-trust after updating ca-certificates.
This commit is contained in:
Daniel Schadt 2016-08-16 22:55:24 +02:00
parent d3982f0325
commit 8a644177ca

View File

@ -3,6 +3,7 @@ MAINTAINER Florian Bruhin <me@the-compiler.org>
RUN echo 'Server = http://mirror.de.leaseweb.net/archlinux/$repo/os/$arch' > /etc/pacman.d/mirrorlist
RUN pacman-key --init && pacman-key --populate archlinux && pacman -Sy --noconfirm archlinux-keyring
RUN pacman -S --noconfirm pacman | cat && pacman-db-upgrade
RUN pacman -Suyy --noconfirm
RUN pacman-db-upgrade