diff --git a/src/beanstalk-installer.sh b/src/beanstalk-installer.sh new file mode 100755 index 0000000..4143d7a --- /dev/null +++ b/src/beanstalk-installer.sh @@ -0,0 +1,10 @@ +#!/usr/bin/env bash + +mkdir -p /tmp/tfconfig +cd /tmp/tfconfig +curl -L -o tfconfig.zip https://github.com/wobondar/tfconfig/releases/download/v${TF_CONFIG_VERSION}/tfconfig_v${TF_CONFIG_VERSION}_linux_amd64.zip +echo "${TF_CONFIG_SHA256} tfconfig.zip" | sha256sum -c --quiet +unzip tfconfig.zip +mv tfconfig /usr/bin +chmod +x /usr/bin/tfconfig +rm -rf /tmp/tfconfig \ No newline at end of file