Skip to content

Commit

Permalink
Update the golang to 1.20 for Mariner Toolkit (#560)
Browse files Browse the repository at this point in the history
Update the golang to 1.20 for Mariner Toolkit
  • Loading branch information
yophilav authored Oct 25, 2023
1 parent e4b0871 commit 45e5576
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions ci/install-build-deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -267,10 +267,13 @@ case "$OS:$ARCH" in
apt-get install -y \
cmake curl gcc g++ git jq make pkg-config \
libclang1 libssl-dev llvm-dev \
cpio genisoimage golang-1.19-go qemu-utils pigz python3-pip python3-distutils rpm tar wget
cpio genisoimage golang-1.20-go qemu-utils pigz python3-pip python3-distutils rpm tar wget

apt-get update
apt-get upgrade -y

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

0 comments on commit 45e5576

Please sign in to comment.