docker: simplify keyring update

- this wasn't using .pkg-cache before; we should, in case we already
  have the updated package downloaded.

Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
Kevin Morris 2022-01-23 15:44:58 -08:00
parent 8cca03a3f6
commit 2f294480a9
No known key found for this signature in database
GPG key ID: F7E46DED420788F3

View file

@ -5,11 +5,7 @@
set -eou pipefail set -eou pipefail
# Update and rollout archlinux-keyring keys. # Update and rollout archlinux-keyring keys.
pacman-key --init pacman -Sy --noconfirm --noprogressbar --cachedir .pkg-cache archlinux-keyring
pacman-key --updatedb
pacman-key --populate
pacman -Sy --noconfirm --noprogressbar archlinux-keyring
# Install other OS dependencies. # Install other OS dependencies.
pacman -Syu --noconfirm --noprogressbar \ pacman -Syu --noconfirm --noprogressbar \