Fix dependencies.

This commit is contained in:
yohan 2024-10-23 21:08:18 +02:00
parent a7af5fd3b0
commit c416e69a42

View File

@ -3,13 +3,13 @@ MAINTAINER yohan <783b8c87@scimetis.net>
ENV DEBIAN_FRONTEND noninteractive ENV DEBIAN_FRONTEND noninteractive
RUN echo "deb http://http.debian.net/debian bullseye-backports main" >> /etc/apt/sources.list RUN echo "deb http://http.debian.net/debian bullseye-backports main" >> /etc/apt/sources.list
RUN apt-get update && \ RUN apt-get update && \
apt-get -y install python3-openstacksdk pip openssh-client sshpass iproute2 git && \ apt-get -y install pip openssh-client sshpass iproute2 git && \
apt-get clean && \ apt-get clean && \
rm -rf /var/lib/apt/lists/* rm -rf /var/lib/apt/lists/*
ENV TZ=Europe/Paris ENV TZ=Europe/Paris
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
RUN pip install "ansible==8.5" RUN pip install "ansible==8.5"
RUN pip install "openstacksdk==1.5.0" RUN pip install "openstacksdk==0.61.0"
RUN pip install "docker==6.1.3" RUN pip install "docker==6.1.3"
RUN pip install "docker-compose==1.29.2" RUN pip install "docker-compose==1.29.2"
RUN pip install "ovh==1.1.0" RUN pip install "ovh==1.1.0"