1
0
mirror of https://github.com/moparisthebest/arch-ppa synced 2024-12-18 04:32:15 -05:00

Add base to Dockerfile

This commit is contained in:
Travis Burtrum 2019-08-31 22:41:40 -04:00
parent 51025d95a7
commit c352852769

View File

@ -8,7 +8,7 @@ ENV PKGS_TO_BUILD_IN_ORDER=$PKGS_TO_BUILD_IN_ORDER
RUN mkdir -p /build/ /repo/ /var/cache/pacman/pkg/ && chown nobody: /build/ /repo/ && \ RUN mkdir -p /build/ /repo/ /var/cache/pacman/pkg/ && chown nobody: /build/ /repo/ && \
echo -e '[aur]\nSigLevel = Never\nServer = file:///repo' >> /etc/pacman.conf && repo-add /repo/aur.db.tar.gz && \ echo -e '[aur]\nSigLevel = Never\nServer = file:///repo' >> /etc/pacman.conf && repo-add /repo/aur.db.tar.gz && \
echo 'COMPRESSXZ=(xz -c -z - --threads=0)' >> /etc/makepkg.conf && \ echo 'COMPRESSXZ=(xz -c -z - --threads=0)' >> /etc/makepkg.conf && \
pacman -Syu --noconfirm sudo base-devel && \ pacman -Syu --noconfirm base sudo base-devel && \
echo -e 'nobody ALL= NOPASSWD: /usr/bin/pacman\nnobody ALL= NOPASSWD: /usr/bin/makepkg' > /etc/sudoers.d/nobody echo -e 'nobody ALL= NOPASSWD: /usr/bin/pacman\nnobody ALL= NOPASSWD: /usr/bin/makepkg' > /etc/sudoers.d/nobody
COPY . /build/ COPY . /build/