docker-arch/Dockerfile

20 lines
525 B
Docker
Raw Normal View History

2021-10-30 20:31:43 +00:00
FROM archlinux
2021-10-09 12:16:01 +00:00
2022-01-11 22:23:11 +00:00
COPY resolv.conf /etc/resolv.conf
2022-01-10 17:06:27 +00:00
RUN pacman-key --init \
&& pacman-key --recv-key 7A6646A6C14690C0 \
2022-01-10 17:04:36 +00:00
&& pacman-key --lsign-key 7A6646A6C14690C0 \
2022-02-01 20:30:02 +00:00
&& pacman -U --noconfirm 'https://github.com/archlinux-pkg/packages/releases/download/packages/medzikuser-mirrorlist-2022.1.30-2-any.pkg.tar.xz' \
2022-01-11 15:33:23 +00:00
&& yes | pacman -Scc
2022-01-10 17:04:36 +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
2022-02-01 20:30:02 +00:00
RUN pacman -Syu --noconfirm \
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