fabrica/.packer/targets/ubuntu.mk

15 lines
391 B
Makefile

# Images Ubuntu
UBUNTU_DEPS=images/ubuntu/20.04/ubuntu-20.04.img images/ubuntu/18.04/ubuntu-18.04.img
build: ubuntu
deploy: deploy-ubuntu
ubuntu: $(UBUNTU_DEPS)
images/ubuntu/20.04/ubuntu-20.04.img:
rm -rf images/ubuntu/20.04
script/build recipes/ubuntu/20.04/packer.json
images/ubuntu/18.04/ubuntu-18.04.img:
rm -rf images/ubuntu/18.04
script/build recipes/ubuntu/18.04/packer.json