docker-makepkg/Dockerfile.aarch64
Davide Depau a51c6730a9
All checks were successful
continuous-integration/drone/push Build is passing
Pikaur is broken, use Yay instead
2020-04-18 05:27:17 +02:00

24 lines
701 B
Text

FROM depau/archlinux-daily:aarch64
# Add common build utils and other needed packages
RUN pacman -Syu --noconfirm base base-devel pacman-contrib git cmake \
meson ninja sudo go-pie
# Add builds user
RUN useradd -mG wheel builder && \
echo '%wheel ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers
# Colors and candy
RUN sed -i 's/^BUILDENV=.*$/BUILDENV=(!distcc color !ccache check !sign)/g' /etc/makepkg.conf && \
sed -i 's/^#Color/Color\nILoveCandy/g' /etc/pacman.conf
USER builder
# Add pikaur
RUN cd /home/builder && \
git clone https://aur.archlinux.org/yay.git && \
cd yay && \
makepkg -sAc && \
sudo pacman --noconfirm -U yay*.pkg.* && \
cd .. && \
rm -Rf yay