From d435ef2ba9448b29d84c64f05e283a96d81ddeb0 Mon Sep 17 00:00:00 2001 From: foreign-sub <51928805+foreign-sub@users.noreply.github.com> Date: Sun, 29 Dec 2019 22:10:22 +0100 Subject: [PATCH] Add PACKER_VERSION to Makefile, bump packer to 1.4.5 Signed-off-by: foreign-sub <51928805+foreign-sub@users.noreply.github.com> --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 117e222..cbf4f6f 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