BuildEnvironments/ArchBuilder/Dockerfile

25 lines
No EOL
725 B
Docker

FROM git.zontreck.com/ariascreations/buildenvironments:arch
RUN pacman --noconfirm -S base-devel gcc nasm git curl wget make cmake automake autoconf archiso squashfs-tools file
RUN pacman --noconfirm -S ninja jdk17-openjdk sudo
RUN useradd -m yay
RUN usermod -a yay -G wheel
RUN echo "yay ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
WORKDIR /tmp
RUN git clone https://aur.archlinux.org/yay.git
RUN chown -R yay:yay /tmp/yay
WORKDIR /tmp/yay
RUN su - yay -c "cd /tmp/yay && makepkg --noconfirm -si"
WORKDIR /
RUN pacman --noconfirm -S python3 python-pip
RUN python3 -m pip config set global.break-system-packages true
RUN python3 -m pip install --upgrade pip
RUN yay --noconfirm -S pkg-config lldb cargo gradle mercurial