From fa1cccbb0125dbaf66d49a027068600593d9a465 Mon Sep 17 00:00:00 2001 From: Cedric Verstraeten Date: Thu, 28 Dec 2023 11:03:28 +0100 Subject: [PATCH] upgrade to go 1.21 --- Dockerfile | 6 +++--- Dockerfile-armv6 | 6 +++--- Dockerfile-armv7 | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/Dockerfile b/Dockerfile index 09e9c87..9c74948 100644 --- a/Dockerfile +++ b/Dockerfile @@ -43,7 +43,7 @@ RUN ARCH=$(uname -m) && \ ARCH=$([ "$(uname -m)" = "armv7l" ] && echo "armv6l" || echo $ARCH) && \ ARCH=$([ "$(uname -m)" = "x86_64" ] && echo "amd64" || echo $ARCH) && \ ARCH=$([ "$(uname -m)" = "aarch64" ] && echo "arm64" || echo $ARCH) && \ - wget "https://dl.google.com/go/go1.19.linux-$ARCH.tar.gz" && \ - tar -xvf "go1.19.linux-$ARCH.tar.gz" && \ - rm -rf go1.19.linux-$ARCH.tar.gz && \ + wget "https://dl.google.com/go/go1.21.linux-$ARCH.tar.gz" && \ + tar -xvf "go1.21.linux-$ARCH.tar.gz" && \ + rm -rf go1.21.linux-$ARCH.tar.gz && \ mv go /usr/local \ No newline at end of file diff --git a/Dockerfile-armv6 b/Dockerfile-armv6 index 5fa85d1..576981d 100644 --- a/Dockerfile-armv6 +++ b/Dockerfile-armv6 @@ -44,7 +44,7 @@ RUN ARCH=$(uname -m) && \ ARCH=$([ "$(uname -m)" = "armv7l" ] && echo "armv6l" || echo $ARCH) && \ ARCH=$([ "$(uname -m)" = "x86_64" ] && echo "amd64" || echo $ARCH) && \ ARCH=$([ "$(uname -m)" = "aarch64" ] && echo "arm64" || echo $ARCH) && \ - wget "https://dl.google.com/go/go1.19.linux-$ARCH.tar.gz" && \ - tar -xvf "go1.19.linux-$ARCH.tar.gz" && \ - rm -rf go1.19.linux-$ARCH.tar.gz && \ + wget "https://dl.google.com/go/go1.21.linux-$ARCH.tar.gz" && \ + tar -xvf "go1.21.linux-$ARCH.tar.gz" && \ + rm -rf go1.21.linux-$ARCH.tar.gz && \ mv go /usr/local \ No newline at end of file diff --git a/Dockerfile-armv7 b/Dockerfile-armv7 index c5c5bba..9e8cc08 100644 --- a/Dockerfile-armv7 +++ b/Dockerfile-armv7 @@ -44,7 +44,7 @@ RUN ARCH=$(uname -m) && \ ARCH=$([ "$(uname -m)" = "armv7l" ] && echo "armv6l" || echo $ARCH) && \ ARCH=$([ "$(uname -m)" = "x86_64" ] && echo "amd64" || echo $ARCH) && \ ARCH=$([ "$(uname -m)" = "aarch64" ] && echo "arm64" || echo $ARCH) && \ - wget "https://dl.google.com/go/go1.19.linux-$ARCH.tar.gz" && \ - tar -xvf "go1.19.linux-$ARCH.tar.gz" && \ - rm -rf go1.19.linux-$ARCH.tar.gz && \ + wget "https://dl.google.com/go/go1.21.linux-$ARCH.tar.gz" && \ + tar -xvf "go1.21.linux-$ARCH.tar.gz" && \ + rm -rf go1.21.linux-$ARCH.tar.gz && \ mv go /usr/local \ No newline at end of file