2021-10-30 20:31:43 +00:00
|
|
|
FROM archlinux
|
2021-10-09 12:16:01 +00:00
|
|
|
|
2021-10-31 17:42:03 +00:00
|
|
|
COPY pacman.conf /etc/pacman.conf
|
|
|
|
COPY mirrorlist /etc/pacman.d/mirrorlist
|
2021-10-11 15:56:18 +00:00
|
|
|
|
2021-10-09 12:42:03 +00:00
|
|
|
RUN pacman -Syu --noconfirm \
|
2021-10-30 20:31:43 +00:00
|
|
|
&& pacman -S --noconfirm \
|
|
|
|
base \
|
|
|
|
base-devel \
|
2021-10-23 10:45:41 +00:00
|
|
|
yay \
|
2021-10-09 12:42:03 +00:00
|
|
|
git \
|
2021-10-10 12:46:01 +00:00
|
|
|
git-lfs \
|
2021-10-09 17:12:12 +00:00
|
|
|
wget \
|
2021-10-09 21:24:06 +00:00
|
|
|
curl \
|
2021-10-24 14:36:04 +00:00
|
|
|
pacman-contrib \
|
2021-10-09 21:24:06 +00:00
|
|
|
python \
|
|
|
|
python-pip \
|
2021-10-22 13:41:33 +00:00
|
|
|
python-requests \
|
2021-10-30 20:31:43 +00:00
|
|
|
ccache \
|
2021-10-23 11:59:12 +00:00
|
|
|
&& yes | pacman -Scc
|
2021-10-09 12:52:02 +00:00
|
|
|
|
2021-10-17 10:01:12 +00:00
|
|
|
RUN useradd --create-home build
|
2021-10-09 13:30:21 +00:00
|
|
|
|
2021-10-31 17:42:03 +00:00
|
|
|
COPY sudoers /etc/sudoers
|
2021-10-09 12:52:02 +00:00
|
|
|
|
2021-10-17 10:01:12 +00:00
|
|
|
USER build
|
|
|
|
RUN sudo echo "Running 'sudo' for build: success"
|