Remove git
installation
This commit is contained in:
parent
35a9dd342a
commit
774b2ff910
1 changed files with 1 additions and 3 deletions
|
@ -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"
|
||||
|
||||
RUN set -ex && \
|
||||
pacman -Syy --noconfirm --needed git && \
|
||||
useradd --create-home builder && \
|
||||
echo "builder ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/builder && \
|
||||
echo "BUILDDIR=/build/app/" >> /home/builder/.makepkg.conf && \
|
||||
|
@ -34,8 +33,7 @@ RUN set -ex && \
|
|||
echo "SRCPKGDEST=/build/srcpackages/" >> /home/builder/.makepkg.conf && \
|
||||
echo "LOGDEST=/build/logs/" >> /home/builder/.makepkg.conf && \
|
||||
mkdir -p /pkg /build && \
|
||||
chown -R builder:builder /build && \
|
||||
rm -rf /var/cache/pacman/pkg/ ~/.cache/
|
||||
chown -R builder:builder /build
|
||||
|
||||
USER builder
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue