Skip to content

Commit 548c37c

Browse files
committed
Fix Go installation
Signed-off-by: Reinhard Naegele <[email protected]>
1 parent 46800df commit 548c37c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.circleci/config.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,11 @@ jobs:
2020
- run:
2121
name: Install tools
2222
command: |
23+
mkdir /home/circleci/.go_workspace/bin
24+
2325
curl -SsL https://dl.google.com/go/go1.13.4.linux-amd64.tar.gz -o go1.13.4.linux-amd64.tar.gz
24-
tar -C /usr/local -xzf go1.13.4.linux-amd64.tar.gz
25-
ln -s /usr/local/go/bin/go /usr/local/bin/go
26+
tar -xzf go1.13.4.linux-amd64.tar.gz
27+
ln -s "$HOME/go/bin/go" "$HOME/.go_workspace/bin/go"
2628
2729
curl -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl
2830
chmod +x ./kubectl

0 commit comments

Comments
 (0)