forked from public/airgap
22 lines
393 B
Makefile
22 lines
393 B
Makefile
.DEFAULT_GOAL :=
|
|
.PHONY: default
|
|
default: \
|
|
$(OUT_DIR)/airgap.iso
|
|
|
|
.PHONY: vm
|
|
vm:
|
|
$(call toolchain,$(USER)," \
|
|
qemu-system-i386 \
|
|
-M pc \
|
|
-nographic \
|
|
-cdrom "$(OUT_DIR)/airgap.iso"; \
|
|
")
|
|
|
|
$(OUT_DIR)/airgap.iso: \
|
|
$(FETCH_DIR)/buildroot
|
|
docker build \
|
|
--progress=plain \
|
|
--output type=oci,tar=false,force-compression=true,name=airgap,dest=airgap \
|
|
. \
|
|
-f Containerfile
|