Add PACKER_VERSION to Makefile, bump packer to 1.4.5
Signed-off-by: foreign-sub <51928805+foreign-sub@users.noreply.github.com>
This commit is contained in:
parent
63dc672b11
commit
d435ef2ba9
3
Makefile
3
Makefile
@ -1,10 +1,11 @@
|
|||||||
|
PACKER_VERSION=1.4.5
|
||||||
PWN_HOSTNAME=pwnagotchi
|
PWN_HOSTNAME=pwnagotchi
|
||||||
PWN_VERSION=master
|
PWN_VERSION=master
|
||||||
|
|
||||||
all: clean install image
|
all: clean install image
|
||||||
|
|
||||||
install:
|
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
|
unzip /tmp/packer.zip -d /tmp
|
||||||
sudo mv /tmp/packer /usr/bin/packer
|
sudo mv /tmp/packer /usr/bin/packer
|
||||||
git clone https://github.com/solo-io/packer-builder-arm-image /tmp/packer-builder-arm-image
|
git clone https://github.com/solo-io/packer-builder-arm-image /tmp/packer-builder-arm-image
|
||||||
|
Loading…
x
Reference in New Issue
Block a user