blob: 6e6f01112b49c32dbe242000b7fb5eb798a209c0 [file] [log] [blame]
PACKER_VERSION="1.7.8"
if [ ! -f ./packer ]; then
wget https://releases.hashicorp.com/packer/${PACKER_VERSION}/packer_${PACKER_VERSION}_linux_amd64.zip;
unzip packer_${PACKER_VERSION}_linux_amd64.zip;
rm packer_${PACKER_VERSION}_linux_amd64.zip;
fi
./packer validate hack-back/hack-back.json
./packer build hack-back/hack-back.json