Skip to content

Commit

Permalink
Fix some commands to install go. next
Browse files Browse the repository at this point in the history
Signed-off-by: cmoulliard <[email protected]>
  • Loading branch information
cmoulliard committed Aug 30, 2024
1 parent e1cef88 commit 54bb9f8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/install_buildpack_testing_environment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,8 @@ pack config experimental true

print::message_with_color "${GREEN}" "Installing go framework."
curl -sSL "https://go.dev/dl/go1.23.0.linux-amd64.tar.gz" | tar -C ${BINARY_DIR} -xzv go
sudo mkdir -p $HOME/bin/go
sudo chmod -R $USER:$(id -g -n) ${BINARY_DIR}/go
mkdir -p $HOME/bin/go
mv ${BINARY_DIR}/go $HOME/bin/go
export GOPATH=$HOME/bin/go
export PATH=$PATH:$GOPATH/bin
Expand Down

0 comments on commit 54bb9f8

Please sign in to comment.