diff --git a/Makefile b/Makefile index 117e222f..cbf4f6f8 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,11 @@ +PACKER_VERSION=1.4.5 PWN_HOSTNAME=pwnagotchi PWN_VERSION=master all: clean install image install: - curl https://releases.hashicorp.com/packer/1.3.5/packer_1.3.5_linux_amd64.zip -o /tmp/packer.zip + curl https://releases.hashicorp.com/packer/$(PACKER_VERSION)/packer_$(PACKER_VERSION)_linux_amd64.zip -o /tmp/packer.zip unzip /tmp/packer.zip -d /tmp sudo mv /tmp/packer /usr/bin/packer git clone https://github.com/solo-io/packer-builder-arm-image /tmp/packer-builder-arm-image