2023-12-27 00:31:19 +00:00
|
|
|
all:libvirt-image
|
2023-12-26 13:22:47 +00:00
|
|
|
|
2023-12-27 00:31:19 +00:00
|
|
|
libvirt-image: qemu-binary
|
2023-12-26 13:22:47 +00:00
|
|
|
buildah bud -t repo.brass.host/libvirt/libvirt -f Dockerfile.libvirt
|
2023-12-27 00:31:19 +00:00
|
|
|
touch libvirt-image
|
2023-12-26 13:22:47 +00:00
|
|
|
|
2023-12-27 00:31:19 +00:00
|
|
|
qemu-build:
|
|
|
|
buildah bud -t repo.brass.host/libvirt/qemu-build -f Dockerfile.qemu-build
|
|
|
|
touch qemu-build
|
|
|
|
|
|
|
|
qemu-binary: qemu-build
|
|
|
|
podman stop qemu-builder ; podman rm qemu-builder || true
|
|
|
|
podman run --rm --name qemu-builder -v $(PWD):/src repo.brass.host/libvirt/qemu-build sh ./build.sh
|
|
|
|
touch qemu-binary
|
|
|
|
# buildah from almalinux:8 --name "qemu-build" -v $(PWD):/src
|
2023-12-26 13:22:47 +00:00
|
|
|
|
|
|
|
.PHONY: all qemu libvirt
|