summaryrefslogtreecommitdiff
path: root/docker
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2017-05-24 13:43:49 +0200
committerlouiz’ <louiz@louiz.org>2017-05-24 13:44:32 +0200
commit97f01d8e125c257a0011c4c275319595003a63f6 (patch)
tree59730bf0f0558045233097a42ecf37174ed19b31 /docker
parentd6ebcfa9a84d851c91f708c777634f70efc0af3e (diff)
downloadbiboumi-97f01d8e125c257a0011c4c275319595003a63f6.tar.gz
biboumi-97f01d8e125c257a0011c4c275319595003a63f6.tar.bz2
biboumi-97f01d8e125c257a0011c4c275319595003a63f6.tar.xz
biboumi-97f01d8e125c257a0011c4c275319595003a63f6.zip
Add biboumi-test-archlinux and biboumi-debian-packaging Dockerfiles
Diffstat (limited to 'docker')
-rw-r--r--docker/biboumi-test/archlinux/Dockerfile13
-rw-r--r--docker/packaging/debian/Dockerfile10
2 files changed, 23 insertions, 0 deletions
diff --git a/docker/biboumi-test/archlinux/Dockerfile b/docker/biboumi-test/archlinux/Dockerfile
new file mode 100644
index 0000000..20f0343
--- /dev/null
+++ b/docker/biboumi-test/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
diff --git a/docker/packaging/debian/Dockerfile b/docker/packaging/debian/Dockerfile
new file mode 100644
index 0000000..f9f4d84
--- /dev/null
+++ b/docker/packaging/debian/Dockerfile
@@ -0,0 +1,10 @@
+# This Dockerfile creates a docker image suitable to build a debian package
+
+FROM docker.io/debian:sid
+
+RUN apt update
+
+# Needed to build biboumi
+RUN apt install -y \
+ git \
+ devscripts