From 424ad3fd15f5ca918b48ba9a308c9ff8ef931210 Mon Sep 17 00:00:00 2001 From: Gianluca Boiano Date: Tue, 11 Feb 2025 12:51:16 +0100 Subject: [PATCH] chore: update golang to 1.23.6 --- build/deploy/alpine/Dockerfile | 4 ++-- build/deploy/amazon-1/Dockerfile | 4 ++-- build/deploy/amazon-2/Dockerfile | 4 ++-- build/deploy/debian-buster/Dockerfile | 4 ++-- build/deploy/debian-jessie/Dockerfile | 4 ++-- build/deploy/debian-stretch/Dockerfile | 4 ++-- build/deploy/fedora-38/Dockerfile | 4 ++-- build/deploy/rocky-8/Dockerfile | 4 ++-- build/deploy/rocky-9/Dockerfile | 4 ++-- build/deploy/ubuntu-bionic/Dockerfile | 4 ++-- build/deploy/ubuntu-focal/Dockerfile | 4 ++-- build/deploy/ubuntu-jammy/Dockerfile | 4 ++-- build/deploy/ubuntu-noble/Dockerfile | 4 ++-- pkg/constants/constants.go | 2 +- 14 files changed, 27 insertions(+), 27 deletions(-) diff --git a/build/deploy/alpine/Dockerfile b/build/deploy/alpine/Dockerfile index f76e096..7b889a8 100644 --- a/build/deploy/alpine/Dockerfile +++ b/build/deploy/alpine/Dockerfile @@ -5,8 +5,8 @@ LABEL org.opencontainers.image.vendor="M0Rf30" RUN \ apk add --no-cache upx; \ - wget https://go.dev/dl/go1.22.2.linux-amd64.tar.gz -O go.tar.gz; \ - echo "5901c52b7a78002aeff14a21f93e0f064f74ce1360fce51c6ee68cd471216a17 go.tar.gz" | sha256sum -c - ; \ + wget https://go.dev/dl/go1.23.6.linux-amd64.tar.gz -O go.tar.gz; \ + echo "9379441ea310de000f33a4dc767bd966e72ab2826270e038e78b2c53c2e7802d go.tar.gz" | sha256sum -c - ; \ tar -C /usr/lib -xf go.tar.gz; \ ln -sf /usr/lib/go/bin/go /usr/bin/go; \ ln -sf /usr/lib/go/bin/gofmt /usr/bin/gofmt; \ diff --git a/build/deploy/amazon-1/Dockerfile b/build/deploy/amazon-1/Dockerfile index 8f69eec..93ce4af 100644 --- a/build/deploy/amazon-1/Dockerfile +++ b/build/deploy/amazon-1/Dockerfile @@ -6,8 +6,8 @@ LABEL org.opencontainers.image.vendor="M0Rf30" SHELL ["/bin/bash", "-o", "pipefail", "-c"] RUN \ yum -y install curl tar; \ - curl -sL https://go.dev/dl/go1.22.2.linux-amd64.tar.gz --output go.tar.gz; \ - echo "5901c52b7a78002aeff14a21f93e0f064f74ce1360fce51c6ee68cd471216a17 go.tar.gz" | sha256sum -c - ; \ + curl -sL https://go.dev/dl/go1.23.6.linux-amd64.tar.gz --output go.tar.gz; \ + echo "9379441ea310de000f33a4dc767bd966e72ab2826270e038e78b2c53c2e7802d go.tar.gz" | sha256sum -c - ; \ tar -C /usr/lib -xf go.tar.gz; \ ln -sf /usr/lib/go/bin/go /usr/bin/go; \ ln -sf /usr/lib/go/bin/gofmt /usr/bin/gofmt; \ diff --git a/build/deploy/amazon-2/Dockerfile b/build/deploy/amazon-2/Dockerfile index 0dba329..c973787 100644 --- a/build/deploy/amazon-2/Dockerfile +++ b/build/deploy/amazon-2/Dockerfile @@ -6,8 +6,8 @@ LABEL org.opencontainers.image.vendor="M0Rf30" SHELL ["/bin/bash", "-o", "pipefail", "-c"] RUN \ yum -y install curl tar; \ - curl -sL https://go.dev/dl/go1.22.2.linux-amd64.tar.gz --output go.tar.gz; \ - echo "5901c52b7a78002aeff14a21f93e0f064f74ce1360fce51c6ee68cd471216a17 go.tar.gz" | sha256sum -c - ; \ + curl -sL https://go.dev/dl/go1.23.6.linux-amd64.tar.gz --output go.tar.gz; \ + echo "9379441ea310de000f33a4dc767bd966e72ab2826270e038e78b2c53c2e7802d go.tar.gz" | sha256sum -c - ; \ tar -C /usr/lib -xf go.tar.gz; \ ln -sf /usr/lib/go/bin/go /usr/bin/go; \ ln -sf /usr/lib/go/bin/gofmt /usr/bin/gofmt; \ diff --git a/build/deploy/debian-buster/Dockerfile b/build/deploy/debian-buster/Dockerfile index 8e79703..f0980c0 100644 --- a/build/deploy/debian-buster/Dockerfile +++ b/build/deploy/debian-buster/Dockerfile @@ -9,8 +9,8 @@ RUN \ apt-get update; \ apt-get upgrade; \ apt-get install -y --no-install-recommends ca-certificates curl tar upx-ucl; \ - curl -sL https://go.dev/dl/go1.22.2.linux-amd64.tar.gz --output go.tar.gz; \ - echo "5901c52b7a78002aeff14a21f93e0f064f74ce1360fce51c6ee68cd471216a17 go.tar.gz" | sha256sum -c - ; \ + curl -sL https://go.dev/dl/go1.23.6.linux-amd64.tar.gz --output go.tar.gz; \ + echo "9379441ea310de000f33a4dc767bd966e72ab2826270e038e78b2c53c2e7802d go.tar.gz" | sha256sum -c - ; \ tar -C /usr/lib -xf go.tar.gz; \ ln -sf /usr/lib/go/bin/go /usr/bin/go; \ ln -sf /usr/lib/go/bin/gofmt /usr/bin/gofmt; \ diff --git a/build/deploy/debian-jessie/Dockerfile b/build/deploy/debian-jessie/Dockerfile index f8cb931..812eb54 100644 --- a/build/deploy/debian-jessie/Dockerfile +++ b/build/deploy/debian-jessie/Dockerfile @@ -9,8 +9,8 @@ RUN \ apt-get update; \ apt-get upgrade; \ apt-get install -y --no-install-recommends ca-certificates curl tar upx-ucl; \ - curl -sL https://go.dev/dl/go1.22.2.linux-amd64.tar.gz --output go.tar.gz; \ - echo "5901c52b7a78002aeff14a21f93e0f064f74ce1360fce51c6ee68cd471216a17 go.tar.gz" | sha256sum -c - ; \ + curl -sL https://go.dev/dl/go1.23.6.linux-amd64.tar.gz --output go.tar.gz; \ + echo "9379441ea310de000f33a4dc767bd966e72ab2826270e038e78b2c53c2e7802d go.tar.gz" | sha256sum -c - ; \ tar -C /usr/lib -xf go.tar.gz; \ ln -sf /usr/lib/go/bin/go /usr/bin/go; \ ln -sf /usr/lib/go/bin/gofmt /usr/bin/gofmt; \ diff --git a/build/deploy/debian-stretch/Dockerfile b/build/deploy/debian-stretch/Dockerfile index 46c2b1b..3a704c6 100644 --- a/build/deploy/debian-stretch/Dockerfile +++ b/build/deploy/debian-stretch/Dockerfile @@ -9,8 +9,8 @@ RUN \ apt-get update; \ apt-get upgrade; \ apt-get install -y --no-install-recommends ca-certificates curl tar upx-ucl; \ - curl -sL https://go.dev/dl/go1.22.2.linux-amd64.tar.gz --output go.tar.gz; \ - echo "5901c52b7a78002aeff14a21f93e0f064f74ce1360fce51c6ee68cd471216a17 go.tar.gz" | sha256sum -c - ; \ + curl -sL https://go.dev/dl/go1.23.6.linux-amd64.tar.gz --output go.tar.gz; \ + echo "9379441ea310de000f33a4dc767bd966e72ab2826270e038e78b2c53c2e7802d go.tar.gz" | sha256sum -c - ; \ tar -C /usr/lib -xf go.tar.gz; \ ln -sf /usr/lib/go/bin/go /usr/bin/go; \ ln -sf /usr/lib/go/bin/gofmt /usr/bin/gofmt; \ diff --git a/build/deploy/fedora-38/Dockerfile b/build/deploy/fedora-38/Dockerfile index 95662ed..2cd8590 100644 --- a/build/deploy/fedora-38/Dockerfile +++ b/build/deploy/fedora-38/Dockerfile @@ -6,8 +6,8 @@ LABEL org.opencontainers.image.vendor="M0Rf30" SHELL ["/bin/bash", "-o", "pipefail", "-c"] RUN \ dnf -y install curl tar upx; \ - curl -sL https://go.dev/dl/go1.22.2.linux-amd64.tar.gz --output go.tar.gz; \ - echo "5901c52b7a78002aeff14a21f93e0f064f74ce1360fce51c6ee68cd471216a17 go.tar.gz" | sha256sum -c - ; \ + curl -sL https://go.dev/dl/go1.23.6.linux-amd64.tar.gz --output go.tar.gz; \ + echo "9379441ea310de000f33a4dc767bd966e72ab2826270e038e78b2c53c2e7802d go.tar.gz" | sha256sum -c - ; \ tar -C /usr/lib -xf go.tar.gz; \ ln -sf /usr/lib/go/bin/go /usr/bin/go; \ ln -sf /usr/lib/go/bin/gofmt /usr/bin/gofmt; \ diff --git a/build/deploy/rocky-8/Dockerfile b/build/deploy/rocky-8/Dockerfile index 01daaab..45421d6 100644 --- a/build/deploy/rocky-8/Dockerfile +++ b/build/deploy/rocky-8/Dockerfile @@ -6,8 +6,8 @@ LABEL org.opencontainers.image.vendor="M0Rf30" SHELL ["/bin/bash", "-o", "pipefail", "-c"] RUN \ dnf -y install curl tar; \ - curl -sL https://go.dev/dl/go1.22.2.linux-amd64.tar.gz --output go.tar.gz; \ - echo "5901c52b7a78002aeff14a21f93e0f064f74ce1360fce51c6ee68cd471216a17 go.tar.gz" | sha256sum -c - ; \ + curl -sL https://go.dev/dl/go1.23.6.linux-amd64.tar.gz --output go.tar.gz; \ + echo "9379441ea310de000f33a4dc767bd966e72ab2826270e038e78b2c53c2e7802d go.tar.gz" | sha256sum -c - ; \ tar -C /usr/lib -xf go.tar.gz; \ ln -sf /usr/lib/go/bin/go /usr/bin/go; \ ln -sf /usr/lib/go/bin/gofmt /usr/bin/gofmt; \ diff --git a/build/deploy/rocky-9/Dockerfile b/build/deploy/rocky-9/Dockerfile index b425ab0..a4f8d52 100644 --- a/build/deploy/rocky-9/Dockerfile +++ b/build/deploy/rocky-9/Dockerfile @@ -6,8 +6,8 @@ LABEL org.opencontainers.image.vendor="M0Rf30" SHELL ["/bin/bash", "-o", "pipefail", "-c"] RUN \ dnf -y install curl-minimal tar; \ - curl -sL https://go.dev/dl/go1.22.2.linux-amd64.tar.gz --output go.tar.gz; \ - echo "5901c52b7a78002aeff14a21f93e0f064f74ce1360fce51c6ee68cd471216a17 go.tar.gz" | sha256sum -c - ; \ + curl -sL https://go.dev/dl/go1.23.6.linux-amd64.tar.gz --output go.tar.gz; \ + echo "9379441ea310de000f33a4dc767bd966e72ab2826270e038e78b2c53c2e7802d go.tar.gz" | sha256sum -c - ; \ tar -C /usr/lib -xf go.tar.gz; \ ln -sf /usr/lib/go/bin/go /usr/bin/go; \ ln -sf /usr/lib/go/bin/gofmt /usr/bin/gofmt; \ diff --git a/build/deploy/ubuntu-bionic/Dockerfile b/build/deploy/ubuntu-bionic/Dockerfile index ca0ed37..01e4e3d 100644 --- a/build/deploy/ubuntu-bionic/Dockerfile +++ b/build/deploy/ubuntu-bionic/Dockerfile @@ -9,8 +9,8 @@ RUN \ apt-get update; \ apt-get upgrade; \ apt-get install -y --no-install-recommends ca-certificates curl tar upx-ucl; \ - curl -sL https://go.dev/dl/go1.22.2.linux-amd64.tar.gz --output go.tar.gz; \ - echo "5901c52b7a78002aeff14a21f93e0f064f74ce1360fce51c6ee68cd471216a17 go.tar.gz" | sha256sum -c - ; \ + curl -sL https://go.dev/dl/go1.23.6.linux-amd64.tar.gz --output go.tar.gz; \ + echo "9379441ea310de000f33a4dc767bd966e72ab2826270e038e78b2c53c2e7802d go.tar.gz" | sha256sum -c - ; \ tar -C /usr/lib -xf go.tar.gz; \ ln -sf /usr/lib/go/bin/go /usr/bin/go; \ ln -sf /usr/lib/go/bin/gofmt /usr/bin/gofmt; \ diff --git a/build/deploy/ubuntu-focal/Dockerfile b/build/deploy/ubuntu-focal/Dockerfile index f7ae4fc..843afa5 100644 --- a/build/deploy/ubuntu-focal/Dockerfile +++ b/build/deploy/ubuntu-focal/Dockerfile @@ -9,8 +9,8 @@ RUN \ apt-get update; \ apt-get upgrade; \ apt-get install -y --no-install-recommends ca-certificates curl tar upx-ucl; \ - curl -sL https://go.dev/dl/go1.22.2.linux-amd64.tar.gz --output go.tar.gz; \ - echo "5901c52b7a78002aeff14a21f93e0f064f74ce1360fce51c6ee68cd471216a17 go.tar.gz" | sha256sum -c - ; \ + curl -sL https://go.dev/dl/go1.23.6.linux-amd64.tar.gz --output go.tar.gz; \ + echo "9379441ea310de000f33a4dc767bd966e72ab2826270e038e78b2c53c2e7802d go.tar.gz" | sha256sum -c - ; \ tar -C /usr/lib -xf go.tar.gz; \ ln -sf /usr/lib/go/bin/go /usr/bin/go; \ ln -sf /usr/lib/go/bin/gofmt /usr/bin/gofmt; \ diff --git a/build/deploy/ubuntu-jammy/Dockerfile b/build/deploy/ubuntu-jammy/Dockerfile index c5641d5..1df6a1c 100644 --- a/build/deploy/ubuntu-jammy/Dockerfile +++ b/build/deploy/ubuntu-jammy/Dockerfile @@ -9,8 +9,8 @@ RUN \ apt-get update; \ apt-get upgrade; \ apt-get install -y --no-install-recommends ca-certificates curl tar upx-ucl; \ - curl -sL https://go.dev/dl/go1.22.2.linux-amd64.tar.gz --output go.tar.gz; \ - echo "5901c52b7a78002aeff14a21f93e0f064f74ce1360fce51c6ee68cd471216a17 go.tar.gz" | sha256sum -c - ; \ + curl -sL https://go.dev/dl/go1.23.6.linux-amd64.tar.gz --output go.tar.gz; \ + echo "9379441ea310de000f33a4dc767bd966e72ab2826270e038e78b2c53c2e7802d go.tar.gz" | sha256sum -c - ; \ tar -C /usr/lib -xf go.tar.gz; \ ln -sf /usr/lib/go/bin/go /usr/bin/go; \ ln -sf /usr/lib/go/bin/gofmt /usr/bin/gofmt; \ diff --git a/build/deploy/ubuntu-noble/Dockerfile b/build/deploy/ubuntu-noble/Dockerfile index 052eb17..dafe7eb 100644 --- a/build/deploy/ubuntu-noble/Dockerfile +++ b/build/deploy/ubuntu-noble/Dockerfile @@ -9,8 +9,8 @@ RUN \ apt-get update; \ apt-get upgrade; \ apt-get install -y --no-install-recommends ca-certificates curl tar upx-ucl; \ - curl -sL https://go.dev/dl/go1.22.2.linux-amd64.tar.gz --output go.tar.gz; \ - echo "5901c52b7a78002aeff14a21f93e0f064f74ce1360fce51c6ee68cd471216a17 go.tar.gz" | sha256sum -c - ; \ + curl -sL https://go.dev/dl/go1.23.6.linux-amd64.tar.gz --output go.tar.gz; \ + echo "9379441ea310de000f33a4dc767bd966e72ab2826270e038e78b2c53c2e7802d go.tar.gz" | sha256sum -c - ; \ tar -C /usr/lib -xf go.tar.gz; \ ln -sf /usr/lib/go/bin/go /usr/bin/go; \ ln -sf /usr/lib/go/bin/gofmt /usr/bin/gofmt; \ diff --git a/pkg/constants/constants.go b/pkg/constants/constants.go index 5283160..0f5f861 100644 --- a/pkg/constants/constants.go +++ b/pkg/constants/constants.go @@ -10,7 +10,7 @@ const ( ColorWhite = "\033[37m" DockerOrg = "docker.io/m0rf30/yap-" Git = "git" - GoArchiveURL = "https://go.dev/dl/go1.22.2.linux-amd64.tar.gz" + GoArchiveURL = "https://go.dev/dl/go1.23.6.linux-amd64.tar.gz" ) var (