forked from NationTech/harmony
chore: Reorganize file tree for easier onboarding. Rust project now at the root for simple git clone && cargo run
This commit is contained in:
parent
83b4efd625
commit
96bbef8195
0
harmony-rs/Cargo.lock → Cargo.lock
generated
0
harmony-rs/Cargo.lock → Cargo.lock
generated
@ -1,23 +0,0 @@
|
||||
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"]
|
@ -1,9 +0,0 @@
|
||||
version: '3'
|
||||
services:
|
||||
bifrost:
|
||||
build: .
|
||||
volumes:
|
||||
- ./bifrost_data:/opt/bifrost/data
|
||||
network_mode: "host"
|
||||
privileged: true
|
||||
tty: true
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user