From 4ae73b2de64b21f9cbe82929c82ed3f72a1276c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20KUBLER?= Date: Wed, 31 Jan 2018 17:08:22 +0100 Subject: [PATCH] First version. --- Dockerfile | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..478e123 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,20 @@ +# Build Debian 9 (Stretch) image. + +FROM debian:9 + +LABEL maintainer="François KUBLER" + +RUN apt-get update && \ + apt-get install -y --no-install-recommends \ + build-essential \ + systemd \ + python-pip \ + git + +RUN apt-get clean + +RUN pip install --upgrade setuptools && pip install wheel && pip install ansible + +RUN mkdir -p /etc/ansible && echo "[local]\nlocalhost ansible_connection=local" > /etc/ansible/hosts + +ENTRYPOINT ["/bin/systemd"]