Switch to ansible.

This commit is contained in:
yohan 2023-10-20 23:13:07 +02:00
parent b00c0c337d
commit 117d9ab659

View File

@ -1,6 +1,12 @@
FROM debian:buster
FROM debian:bullseye
MAINTAINER yohan <783b8c87@scimetis.net>
ENV DEBIAN_FRONTEND noninteractive
ENV TZ Europe/Paris
RUN apt-get update && apt-get -y install duplicity python-swiftclient curl docker.io
ENTRYPOINT ["/root/entrypoint.sh"]
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
RUN apt-get -y install duplicity