Adds an arch builder environment
This commit is contained in:
parent
e051a81384
commit
e99f725971
13 changed files with 128 additions and 16 deletions
25
ArchBuilder/Dockerfile
Normal file
25
ArchBuilder/Dockerfile
Normal file
|
@ -0,0 +1,25 @@
|
|||
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
|
Loading…
Add table
Add a link
Reference in a new issue