libvirt/Makefile
2023-12-27 04:31:19 +04:00

18 lines
540 B
Makefile

all:libvirt-image
libvirt-image: qemu-binary
buildah bud -t repo.brass.host/libvirt/libvirt -f Dockerfile.libvirt
touch libvirt-image
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
.PHONY: all qemu libvirt