docker-ansible/Dockerfile

21 lines
776 B
Docker
Raw Permalink Normal View History

2023-10-16 20:51:18 +00:00
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 && \
2024-10-23 19:08:18 +00:00
apt-get -y install pip openssh-client sshpass iproute2 git && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
2023-10-16 20:51:18 +00:00
ENV TZ=Europe/Paris
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
RUN pip install "ansible==8.5"
2024-10-23 19:08:18 +00:00
RUN pip install "openstacksdk==0.61.0"
RUN pip install "docker==6.1.3"
RUN pip install "docker-compose==1.29.2"
2024-10-23 18:48:05 +00:00
RUN pip install "ovh==1.1.0"
WORKDIR /root
RUN git clone https://git.scimetis.net/yohan/ovh_instance_playbooks.git
WORKDIR /root/ovh_instance_playbooks
RUN ./install_requirements.sh
WORKDIR /root