Skip to content

Commit

Permalink
Upgrade go to 1.21 for Mariner toolkit (#631)
Browse files Browse the repository at this point in the history
Mariner builds are failing because the Mariner toolkit has upgraded its go depependency requirement to 1.21. This change updates go in Mariner builds.
  • Loading branch information
damonbarry authored Sep 4, 2024
1 parent 0de6f80 commit 061e4c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ci/install-build-deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -216,10 +216,10 @@ if [ -z "${DISABLE_FOR_CODEQL:-}" ]; then
apt-get install -y \
cmake curl gcc g++ git jq make pkg-config \
libclang1 libssl-dev llvm-dev \
cpio genisoimage golang-1.20-go qemu-utils pigz python3-pip python3-distutils rpm tar wget
cpio genisoimage golang-1.21-go qemu-utils pigz python3-pip python3-distutils rpm tar wget

rm -f /usr/bin/go
ln -vs /usr/lib/go-1.20/bin/go /usr/bin/go
ln -vs /usr/lib/go-1.21/bin/go /usr/bin/go
if [ -f /.dockerenv ]; then
mv /.dockerenv /.dockerenv.old
fi
Expand Down

0 comments on commit 061e4c9

Please sign in to comment.