ochess/tools/docker/archlinux
2022-02-23 18:11:55 +01:00

10 lines
No EOL
487 B
Text

FROM archlinux/base
RUN pacman -Sy --noconfirm && pacman -S --noconfirm boost cmake base-devel git sudo
RUN useradd --system --create-home aur
RUN echo 'aur ALL=NOPASSWD: /usr/bin/pacman' > /etc/sudoers.d/aur
RUN cd /home/aur && runuser -u aur -- git clone https://aur.archlinux.org/yay.git && cd yay && runuser -u aur -- makepkg -si --noconfirm && cd -
RUN runuser -u aur -- yay -Sy --noconfirm wxgtk3-dev
RUN ln -sf /usr/bin/wx-config-gtk3 /usr/bin/wx-config
ENTRYPOINT /usr/bin/bash