From cca31fdf3718ce7b90fc87335c6fa9bf83ae1f23 Mon Sep 17 00:00:00 2001 From: Ian Main Date: Wed, 27 Feb 2019 13:45:11 -0800 Subject: [PATCH] Add go dep command to requirements. Needed to build some go repositories. --- 01_install_requirements.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/01_install_requirements.sh b/01_install_requirements.sh index b9521f150..620b1ede9 100755 --- a/01_install_requirements.sh +++ b/01_install_requirements.sh @@ -62,3 +62,10 @@ fi curl --silent --location https://dl.yarnpkg.com/rpm/yarn.repo | sudo tee /etc/yum.repos.d/yarn.repo curl --silent --location https://rpm.nodesource.com/setup_10.x | sudo bash - sudo yum install yarn nodejs -y + +# Install go dep command. The packaged version is too old. This is for development only atm. +export GOPATH=$HOME/go +mkdir -p $GOPATH/go/bin +curl -o /tmp/install-go-dep.sh https://raw.githubusercontent.com/golang/dep/master/install.sh +chmod 755 /tmp/install-go-dep.sh +/tmp/install-go-dep.sh