Add command to synchronize pacman database
This commit is contained in:
parent
774b2ff910
commit
d70b203f70
1 changed files with 1 additions and 0 deletions
|
@ -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"
|
LABEL org.opencontainers.image.licenses="GPL-3.0-or-later"
|
||||||
|
|
||||||
RUN set -ex && \
|
RUN set -ex && \
|
||||||
|
pacman -Sy && \
|
||||||
useradd --create-home builder && \
|
useradd --create-home builder && \
|
||||||
echo "builder ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/builder && \
|
echo "builder ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/builder && \
|
||||||
echo "BUILDDIR=/build/app/" >> /home/builder/.makepkg.conf && \
|
echo "BUILDDIR=/build/app/" >> /home/builder/.makepkg.conf && \
|
||||||
|
|
Loading…
Reference in a new issue