Add Dockerfile and build instructions.

This commit is contained in:
yohan 2023-10-16 22:51:18 +02:00
parent bb1deb1556
commit 793c6f094a
2 changed files with 12 additions and 0 deletions

11
Dockerfile Normal file
View File

@ -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

1
build Normal file
View File

@ -0,0 +1 @@
docker build -t ansible .