From 0efada415257d25da3ebdb60a34be811e7bdc697 Mon Sep 17 00:00:00 2001 From: Feruzjon Muyassarov Date: Tue, 25 May 2021 10:19:42 +0300 Subject: [PATCH] Add sushy-tools & vbmc Dockerfiles --- resources/sushy-tools/Dockerfile | 7 +++++++ resources/vbmc/Dockerfile | 10 ++++++++++ 2 files changed, 17 insertions(+) create mode 100644 resources/sushy-tools/Dockerfile create mode 100644 resources/vbmc/Dockerfile diff --git a/resources/sushy-tools/Dockerfile b/resources/sushy-tools/Dockerfile new file mode 100644 index 000000000..534318a17 --- /dev/null +++ b/resources/sushy-tools/Dockerfile @@ -0,0 +1,7 @@ +FROM registry.hub.docker.com/library/python:3.9 + +RUN apt update && \ + apt install -y libvirt-dev && \ + pip3 install sushy-tools==0.15.0 libvirt-python + +CMD sushy-emulator -i :: -p 8000 --config /root/sushy/conf.py \ No newline at end of file diff --git a/resources/vbmc/Dockerfile b/resources/vbmc/Dockerfile new file mode 100644 index 000000000..4e58ad385 --- /dev/null +++ b/resources/vbmc/Dockerfile @@ -0,0 +1,10 @@ +FROM docker.io/centos:centos8 + +RUN dnf install -y python3 python3-requests python3-pip && \ + curl https://raw.githubusercontent.com/openstack/tripleo-repos/master/tripleo_repos/main.py | python3 - -b master current-tripleo --no-stream && \ + dnf upgrade -y && \ + dnf install -y python3-virtualbmc && \ + dnf clean all && \ + rm -rf /var/cache/{yum,dnf}/* + +CMD /usr/bin/vbmcd --foreground \ No newline at end of file