28 lines
448 B
Makefile
28 lines
448 B
Makefile
.DEFAULT_GOAL :=
|
|
.PHONY: default
|
|
default: \
|
|
out/airgap.iso
|
|
|
|
.PHONY: vm
|
|
vm: out/airgap.iso
|
|
qemu-system-x86_64 \
|
|
-m 512M \
|
|
-machine pc \
|
|
-nographic \
|
|
-cdrom "out/airgap.iso"
|
|
|
|
.PHONY: vm-uefi
|
|
vm-uefi:
|
|
qemu-system-x86_64 \
|
|
-m 4G \
|
|
-machine type=q35 \
|
|
-bios /usr/share/ovmf/OVMF.fd \
|
|
-cdrom "out/airgap.iso"
|
|
|
|
out/airgap.iso: Containerfile
|
|
docker build \
|
|
--progress=plain \
|
|
--output type=local,dest=out \
|
|
-f Containerfile \
|
|
.
|