docker-kvm-qemu-libvirt/Makefile

22 lines
359 B
Makefile

.PHONY: imageLibvirtd test
REGISTRY_IP=docker.registry
## build
shell_build_image = docker build -t $(REGISTRY_IP):5000/$(1) .; \
docker push $(REGISTRY_IP):5000/$(1);
imageLibvirtd:
$(call shell_build_image,libvirtd)
test:
docker-compose up -d
clean:
docker-compose down
## management
status:
@curl -s $(REGISTRY_IP):5000/v2/_catalog | jq