Remove git installation

This commit is contained in:
Foster Hangdaan 2024-10-29 06:12:43 -04:00
parent 35a9dd342a
commit 774b2ff910
Signed by: foster
GPG key ID: E48D7F49A852F112

View file

@ -25,7 +25,6 @@ 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 -Syy --noconfirm --needed git && \
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 && \
@ -34,8 +33,7 @@ RUN set -ex && \
echo "SRCPKGDEST=/build/srcpackages/" >> /home/builder/.makepkg.conf && \ echo "SRCPKGDEST=/build/srcpackages/" >> /home/builder/.makepkg.conf && \
echo "LOGDEST=/build/logs/" >> /home/builder/.makepkg.conf && \ echo "LOGDEST=/build/logs/" >> /home/builder/.makepkg.conf && \
mkdir -p /pkg /build && \ mkdir -p /pkg /build && \
chown -R builder:builder /build && \ chown -R builder:builder /build
rm -rf /var/cache/pacman/pkg/ ~/.cache/
USER builder USER builder