Merge pull request #767 from foreign-sub/packer_version

Add PACKER_VERSION to Makefile, bump packer to 1.4.5
This commit is contained in:
Simone Margaritelli 2020-01-14 11:39:26 +01:00 committed by GitHub
commit 52015014b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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