28 lines
488 B
Docker
28 lines
488 B
Docker
FROM archlinux
|
|
|
|
COPY pacman.conf /etc/pacman.conf
|
|
COPY mirrorlist /etc/pacman.d/mirrorlist
|
|
|
|
RUN pacman -Syu --noconfirm \
|
|
&& pacman -S --noconfirm \
|
|
base \
|
|
base-devel \
|
|
yay \
|
|
git \
|
|
git-lfs \
|
|
wget \
|
|
curl \
|
|
pacman-contrib \
|
|
python \
|
|
python-pip \
|
|
python-requests \
|
|
ccache \
|
|
&& yes | pacman -Scc
|
|
|
|
RUN useradd --create-home build
|
|
|
|
COPY sudoers /etc/sudoers
|
|
|
|
USER build
|
|
RUN sudo echo "Running 'sudo' for build: success"
|