From 793c6f094aec4cadc51a94250fcabc7a067f56fd Mon Sep 17 00:00:00 2001 From: yohan <783b8c87@scimetis.net> Date: Mon, 16 Oct 2023 22:51:18 +0200 Subject: [PATCH] Add Dockerfile and build instructions. --- Dockerfile | 11 +++++++++++ build | 1 + 2 files changed, 12 insertions(+) create mode 100644 Dockerfile create mode 100644 build diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..2b0d888 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,11 @@ +FROM debian:bullseye +MAINTAINER yohan <783b8c87@scimetis.net> +ENV DEBIAN_FRONTEND noninteractive +RUN echo "deb http://http.debian.net/debian bullseye-backports main" >> /etc/apt/sources.list +RUN apt-get update && apt-get -y install pip openssh-client iproute2 git +ENV TZ=Europe/Paris +RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone +RUN pip install ansible +RUN pip install "openstacksdk>=1.0.0" +RUN pip install docker +RUN pip install docker-compose diff --git a/build b/build new file mode 100644 index 0000000..67a11f5 --- /dev/null +++ b/build @@ -0,0 +1 @@ +docker build -t ansible .