fix(docker): update archlinux-keyring prior to -Syu

When the Docker image is outdated, we need to fetch updated
archlinux-keyring keys to perform an -Syu without problems.

Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
Kevin Morris 2022-01-15 15:16:39 -08:00
parent 88cb1096c0
commit ec3295ffd4
No known key found for this signature in database
GPG key ID: F7E46DED420788F3

View file

@ -4,6 +4,12 @@
# robust development ecosystem. # robust development ecosystem.
set -eou pipefail set -eou pipefail
# Update and rollout archlinux-keyring keys.
pacman-key --init
pacman-key --updatedb
pacman-key --populate
# Install other OS dependencies.
pacman -Syu --noconfirm --noprogressbar \ pacman -Syu --noconfirm --noprogressbar \
--cachedir .pkg-cache git gpgme nginx redis openssh \ --cachedir .pkg-cache git gpgme nginx redis openssh \
mariadb mariadb-libs cgit-aurweb uwsgi uwsgi-plugin-cgi \ mariadb mariadb-libs cgit-aurweb uwsgi uwsgi-plugin-cgi \