ci: add containerized libvirt build workflow (#1130)

* Add libvirt container build workflow

* Update release workflow

* Update image libvirt base image

---------

Signed-off-by: Daniel Weiße <dw@edgeless.systems>
This commit is contained in:
Daniel Weiße 2023-02-02 14:40:05 +01:00 committed by GitHub
parent 64c4b1f766
commit f74f589605
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 60 additions and 116 deletions

View file

@ -1,4 +1,4 @@
FROM fedora:37@sha256:99aa8919afd1880064ec915dba44cdc5b52808667717f605750329d55006538a AS deploy
FROM fedora:37@sha256:3487c98481d1bba7e769cf7bcecd6343c2d383fdd6bed34ec541b6b23ef07664 AS release
RUN dnf -y update && \
dnf -y install dnf-plugins-core \
libvirt-daemon-config-network \
@ -7,6 +7,7 @@ RUN dnf -y update && \
swtpm \
swtpm-tools \
libvirt-client && \
dnf remove -y python-setuptools && \
dnf clean all
# Prevent cgroup issues on Fedora and configure libvirt