From bc6a289187c97bf0d1f980653ecd0581e977633c Mon Sep 17 00:00:00 2001 From: wobondar Date: Sat, 9 Jun 2018 05:36:01 +0300 Subject: [PATCH] Beanstalk installer --- src/beanstalk-installer.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 src/beanstalk-installer.sh 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