harmony/bifrost-docker/Dockerfile

24 lines
444 B
Docker

FROM ubuntu:22.04
ENV DEBIAN_FRONTEND=noninteractive
# ansible does not work without it
ENV LC_ALL=C.UTF-8
RUN apt-get update && apt-get install -y \
git \
python3 \
sudo
RUN git clone https://opendev.org/openstack/bifrost.git /opt/bifrost
WORKDIR /opt/bifrost
RUN ./bifrost-cli install\
--network-interface wlp0s20f3\
--dhcp-pool 192.168.12.180-192.168.12.200
RUN pip3 install -r requirements.txt
CMD ["/bin/bash"]