From 1e3f449790194dfa9566c7bf05af61650b23585e Mon Sep 17 00:00:00 2001 From: M0Rf30 Date: Thu, 7 Sep 2023 18:51:04 +0200 Subject: [PATCH] chore: update golang to 1.21.1 --- constants/constants.go | 2 +- docker/amazon-1/Dockerfile | 4 ++-- docker/amazon-2/Dockerfile | 4 ++-- docker/debian-buster/Dockerfile | 4 ++-- docker/debian-jessie/Dockerfile | 4 ++-- docker/debian-stretch/Dockerfile | 4 ++-- docker/fedora-38/Dockerfile | 4 ++-- docker/rocky-8/Dockerfile | 4 ++-- docker/rocky-9/Dockerfile | 4 ++-- docker/ubuntu-bionic/Dockerfile | 4 ++-- docker/ubuntu-focal/Dockerfile | 4 ++-- 11 files changed, 21 insertions(+), 21 deletions(-) diff --git a/constants/constants.go b/constants/constants.go index bd6e2e6..424b37f 100644 --- a/constants/constants.go +++ b/constants/constants.go @@ -13,7 +13,7 @@ const ( ColorYellow = "\033[33m" ColorBlue = "\033[34m" ColorWhite = "\033[37m" - GoArchiveURL = "https://go.dev/dl/go1.20.5.linux-amd64.tar.gz" + GoArchiveURL = "https://go.dev/dl/go1.21.1.linux-amd64.tar.gz" ) var ( diff --git a/docker/amazon-1/Dockerfile b/docker/amazon-1/Dockerfile index 23a76e7..7f494ba 100644 --- a/docker/amazon-1/Dockerfile +++ b/docker/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.20.5.linux-amd64.tar.gz --output go.tar.gz; \ - echo "d7ec48cde0d3d2be2c69203bc3e0a44de8660b9c09a6e85c4732a3f7dc442612 go.tar.gz" | sha256sum -c - ; \ + curl -sL https://go.dev/dl/go1.21.1.linux-amd64.tar.gz --output go.tar.gz; \ + echo "b3075ae1ce5dab85f89bc7905d1632de23ca196bd8336afd93fa97434cfa55ae 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/docker/amazon-2/Dockerfile b/docker/amazon-2/Dockerfile index c575d79..1a54e74 100644 --- a/docker/amazon-2/Dockerfile +++ b/docker/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.20.5.linux-amd64.tar.gz --output go.tar.gz; \ - echo "d7ec48cde0d3d2be2c69203bc3e0a44de8660b9c09a6e85c4732a3f7dc442612 go.tar.gz" | sha256sum -c - ; \ + curl -sL https://go.dev/dl/go1.21.1.linux-amd64.tar.gz --output go.tar.gz; \ + echo "b3075ae1ce5dab85f89bc7905d1632de23ca196bd8336afd93fa97434cfa55ae 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/docker/debian-buster/Dockerfile b/docker/debian-buster/Dockerfile index 6a4e6a3..683f7ed 100644 --- a/docker/debian-buster/Dockerfile +++ b/docker/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; \ - curl -sL https://go.dev/dl/go1.20.5.linux-amd64.tar.gz --output go.tar.gz; \ - echo "d7ec48cde0d3d2be2c69203bc3e0a44de8660b9c09a6e85c4732a3f7dc442612 go.tar.gz" | sha256sum -c - ; \ + curl -sL https://go.dev/dl/go1.21.1.linux-amd64.tar.gz --output go.tar.gz; \ + echo "b3075ae1ce5dab85f89bc7905d1632de23ca196bd8336afd93fa97434cfa55ae 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/docker/debian-jessie/Dockerfile b/docker/debian-jessie/Dockerfile index fe364a8..057a126 100644 --- a/docker/debian-jessie/Dockerfile +++ b/docker/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; \ - curl -sL https://go.dev/dl/go1.20.5.linux-amd64.tar.gz --output go.tar.gz; \ - echo "d7ec48cde0d3d2be2c69203bc3e0a44de8660b9c09a6e85c4732a3f7dc442612 go.tar.gz" | sha256sum -c - ; \ + curl -sL https://go.dev/dl/go1.21.1.linux-amd64.tar.gz --output go.tar.gz; \ + echo "b3075ae1ce5dab85f89bc7905d1632de23ca196bd8336afd93fa97434cfa55ae 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/docker/debian-stretch/Dockerfile b/docker/debian-stretch/Dockerfile index beaff2b..132bca9 100644 --- a/docker/debian-stretch/Dockerfile +++ b/docker/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; \ - curl -sL https://go.dev/dl/go1.20.5.linux-amd64.tar.gz --output go.tar.gz; \ - echo "d7ec48cde0d3d2be2c69203bc3e0a44de8660b9c09a6e85c4732a3f7dc442612 go.tar.gz" | sha256sum -c - ; \ + curl -sL https://go.dev/dl/go1.21.1.linux-amd64.tar.gz --output go.tar.gz; \ + echo "b3075ae1ce5dab85f89bc7905d1632de23ca196bd8336afd93fa97434cfa55ae 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/docker/fedora-38/Dockerfile b/docker/fedora-38/Dockerfile index 0c20592..6a5ae1e 100644 --- a/docker/fedora-38/Dockerfile +++ b/docker/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; \ - curl -sL https://go.dev/dl/go1.20.5.linux-amd64.tar.gz --output go.tar.gz; \ - echo "d7ec48cde0d3d2be2c69203bc3e0a44de8660b9c09a6e85c4732a3f7dc442612 go.tar.gz" | sha256sum -c - ; \ + curl -sL https://go.dev/dl/go1.21.1.linux-amd64.tar.gz --output go.tar.gz; \ + echo "b3075ae1ce5dab85f89bc7905d1632de23ca196bd8336afd93fa97434cfa55ae 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/docker/rocky-8/Dockerfile b/docker/rocky-8/Dockerfile index 279db0a..1962313 100644 --- a/docker/rocky-8/Dockerfile +++ b/docker/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.20.5.linux-amd64.tar.gz --output go.tar.gz; \ - echo "d7ec48cde0d3d2be2c69203bc3e0a44de8660b9c09a6e85c4732a3f7dc442612 go.tar.gz" | sha256sum -c - ; \ + curl -sL https://go.dev/dl/go1.21.1.linux-amd64.tar.gz --output go.tar.gz; \ + echo "b3075ae1ce5dab85f89bc7905d1632de23ca196bd8336afd93fa97434cfa55ae 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/docker/rocky-9/Dockerfile b/docker/rocky-9/Dockerfile index d98ebef..ac44be7 100644 --- a/docker/rocky-9/Dockerfile +++ b/docker/rocky-9/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.20.5.linux-amd64.tar.gz --output go.tar.gz; \ - echo "d7ec48cde0d3d2be2c69203bc3e0a44de8660b9c09a6e85c4732a3f7dc442612 go.tar.gz" | sha256sum -c - ; \ + curl -sL https://go.dev/dl/go1.21.1.linux-amd64.tar.gz --output go.tar.gz; \ + echo "b3075ae1ce5dab85f89bc7905d1632de23ca196bd8336afd93fa97434cfa55ae 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/docker/ubuntu-bionic/Dockerfile b/docker/ubuntu-bionic/Dockerfile index 718f123..a2ad55d 100644 --- a/docker/ubuntu-bionic/Dockerfile +++ b/docker/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; \ - curl -sL https://go.dev/dl/go1.20.5.linux-amd64.tar.gz --output go.tar.gz; \ - echo "d7ec48cde0d3d2be2c69203bc3e0a44de8660b9c09a6e85c4732a3f7dc442612 go.tar.gz" | sha256sum -c - ; \ + curl -sL https://go.dev/dl/go1.21.1.linux-amd64.tar.gz --output go.tar.gz; \ + echo "b3075ae1ce5dab85f89bc7905d1632de23ca196bd8336afd93fa97434cfa55ae 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/docker/ubuntu-focal/Dockerfile b/docker/ubuntu-focal/Dockerfile index a3bf0d1..fa520cb 100644 --- a/docker/ubuntu-focal/Dockerfile +++ b/docker/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; \ - curl -sL https://go.dev/dl/go1.20.5.linux-amd64.tar.gz --output go.tar.gz; \ - echo "d7ec48cde0d3d2be2c69203bc3e0a44de8660b9c09a6e85c4732a3f7dc442612 go.tar.gz" | sha256sum -c - ; \ + curl -sL https://go.dev/dl/go1.21.1.linux-amd64.tar.gz --output go.tar.gz; \ + echo "b3075ae1ce5dab85f89bc7905d1632de23ca196bd8336afd93fa97434cfa55ae 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; \