Skip to content

Commit

Permalink
fix: install go v1.22 when bootstrapping native
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Fossati <[email protected]>
  • Loading branch information
thomas-fossati committed Aug 22, 2024
1 parent d5f9a56 commit c39446c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions deployments/native/bootstrap/ubuntu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
# Copyright 2024 Contributors to the Veraison project.
# SPDX-License-Identifier: Apache-2.0
sudo apt update
sudo apt install --yes git protobuf-compiler golang-1.20 make gettext sqlite3 openssl jq
sudo apt install --yes git protobuf-compiler golang-1.22 make gettext sqlite3 openssl jq

sudo ln -s /usr/lib/go-1.20/bin/go /usr/local/bin/go
sudo ln -s /usr/lib/go-1.20/bin/gofmt /usr/local/bin/gofmt
sudo ln -s /usr/lib/go-1.22/bin/go /usr/local/bin/go
sudo ln -s /usr/lib/go-1.22/bin/gofmt /usr/local/bin/gofmt

wget https://dl.smallstep.com/cli/docs-cli-install/latest/step-cli_amd64.deb -O /tmp/step-cli_amd64.deb
sudo dpkg -i /tmp/step-cli_amd64.deb
Expand Down

0 comments on commit c39446c

Please sign in to comment.