15 lines
568 B
Docker
15 lines
568 B
Docker
FROM ubuntu:24.04
|
|
|
|
RUN apt-get update && apt-get upgrade -y && \
|
|
apt-get -y install git python3-dev iputils-ping dnsutils sshpass python3-pip libffi-dev gcc libssl-dev openssh-client \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
RUN pip3 install ansible --break-system-packages
|
|
RUN pip3 install git+https://opendev.org/openstack/kolla-ansible@master --break-system-packages
|
|
#RUN pip3 install git+https://git.hnrx.net/hnrx/kolla-ansible-mirror.git@master --break-system-packages
|
|
|
|
RUN kolla-ansible install-deps
|
|
|
|
COPY ansible.cfg /etc/ansible/ansible.cfg
|
|
|
|
WORKDIR /etc/kolla
|