Skip to content

Commit

Permalink
Manually install golang
Browse files Browse the repository at this point in the history
  • Loading branch information
nwneisen committed Mar 8, 2024
1 parent 178ed78 commit ce2711a
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion scripts/setup-el
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,15 @@ mkdir -p /etc/docker
cat <<EOF >/etc/docker/daemon.json
{"selinux-enabled": true}
EOF

echo "Installing Golang"
curl -O https://dl.google.com/go/go1.22.1.linux-amd64.tar.gz
sudo tar -C /usr/local -xzf go1.22.1.linux-amd64.tar.gz
export PATH=$PATH:/usr/local/go/bin

echo "Installing other dependencies"
dnf config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
dnf install -y docker-ce git golang make
dnf install -y docker-ce git make
sudo systemctl enable --now docker

echo "Installing cri-tools"
Expand Down

0 comments on commit ce2711a

Please sign in to comment.