From 97f01d8e125c257a0011c4c275319595003a63f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?louiz=E2=80=99?= Date: Wed, 24 May 2017 13:43:49 +0200 Subject: Add biboumi-test-archlinux and biboumi-debian-packaging Dockerfiles --- docker/biboumi-test/archlinux/Dockerfile | 13 +++++++++++++ docker/packaging/debian/Dockerfile | 10 ++++++++++ 2 files changed, 23 insertions(+) create mode 100644 docker/biboumi-test/archlinux/Dockerfile create mode 100644 docker/packaging/debian/Dockerfile (limited to 'docker') 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 -- cgit v1.2.3