From eb6b08871783d9890923bd4bdbbaec752ad96618 Mon Sep 17 00:00:00 2001 From: Cedric Verstraeten Date: Sun, 5 May 2024 20:15:38 +0200 Subject: [PATCH] upgrade go to go1.22.2 --- Dockerfile | 6 +++--- Dockerfile-armv6 | 6 +++--- Dockerfile-armv7 | 6 +++--- Dockerfile-opencv | 6 +++--- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/Dockerfile b/Dockerfile index b27dd12..b18f5a1 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.21.5.linux-$ARCH.tar.gz" && \ - tar -xvf "go1.21.5.linux-$ARCH.tar.gz" && \ - rm -rf go1.21.5.linux-$ARCH.tar.gz && \ + wget "https://dl.google.com/go/go1.22.2.linux-$ARCH.tar.gz" && \ + tar -xvf "go1.22.2.linux-$ARCH.tar.gz" && \ + rm -rf go1.22.2.linux-$ARCH.tar.gz && \ mv go /usr/local \ No newline at end of file diff --git a/Dockerfile-armv6 b/Dockerfile-armv6 index f8c29c0..49b46ec 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.21.5.linux-$ARCH.tar.gz" && \ - tar -xvf "go1.21.5.linux-$ARCH.tar.gz" && \ - rm -rf go1.21.5.linux-$ARCH.tar.gz && \ + wget "https://dl.google.com/go/go1.22.2.linux-$ARCH.tar.gz" && \ + tar -xvf "go1.22.2.linux-$ARCH.tar.gz" && \ + rm -rf go1.22.2.linux-$ARCH.tar.gz && \ mv go /usr/local \ No newline at end of file diff --git a/Dockerfile-armv7 b/Dockerfile-armv7 index 34528f6..99d0d57 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.21.5.linux-$ARCH.tar.gz" && \ - tar -xvf "go1.21.5.linux-$ARCH.tar.gz" && \ - rm -rf go1.21.5.linux-$ARCH.tar.gz && \ + wget "https://dl.google.com/go/go1.22.2.linux-$ARCH.tar.gz" && \ + tar -xvf "go1.22.2.linux-$ARCH.tar.gz" && \ + rm -rf go1.22.2.linux-$ARCH.tar.gz && \ mv go /usr/local \ No newline at end of file diff --git a/Dockerfile-opencv b/Dockerfile-opencv index 52953ff..fb0dd1b 100644 --- a/Dockerfile-opencv +++ b/Dockerfile-opencv @@ -61,7 +61,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.22.2.linux-$ARCH.tar.gz" && \ + tar -xvf "go1.22.2.linux-$ARCH.tar.gz" && \ + rm -rf go1.22.2.linux-$ARCH.tar.gz && \ mv go /usr/local \ No newline at end of file