Add command to synchronize pacman database

This commit is contained in:
Foster Hangdaan 2024-10-29 06:19:07 -04:00
parent 774b2ff910
commit d70b203f70
Signed by: foster
GPG key ID: E48D7F49A852F112

View file

@ -25,6 +25,7 @@ LABEL org.opencontainers.image.source="https://code.fosterhangdaan.com/foster/ar
LABEL org.opencontainers.image.licenses="GPL-3.0-or-later"
RUN set -ex && \
pacman -Sy && \
useradd --create-home builder && \
echo "builder ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/builder && \
echo "BUILDDIR=/build/app/" >> /home/builder/.makepkg.conf && \