summaryrefslogtreecommitdiff
path: root/docker/packaging/archlinux/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'docker/packaging/archlinux/Dockerfile')
-rw-r--r--docker/packaging/archlinux/Dockerfile13
1 files changed, 13 insertions, 0 deletions
diff --git a/docker/packaging/archlinux/Dockerfile b/docker/packaging/archlinux/Dockerfile
new file mode 100644
index 0000000..20f0343
--- /dev/null
+++ b/docker/packaging/archlinux/Dockerfile
@@ -0,0 +1,13 @@
+FROM docker.io/base/archlinux:latest
+
+RUN pacman -Syuuuu --noconfirm
+
+RUN pacman -Syu --noconfirm cmake base-devel git clang-tools-extra
+
+RUN useradd -m -G wheel -s /bin/bash builder
+
+RUN sed -i '/^# %wheel ALL=(ALL) NOPASSWD: ALL/s/^# //' /etc/sudoers
+
+WORKDIR /home/builder
+
+USER builder