Skip to content

Commit

Permalink
chore: update golang to 1.23.6
Browse files Browse the repository at this point in the history
  • Loading branch information
M0Rf30 committed Feb 11, 2025
1 parent 431de8f commit 424ad3f
Show file tree
Hide file tree
Showing 14 changed files with 27 additions and 27 deletions.
4 changes: 2 additions & 2 deletions build/deploy/alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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; \
Expand Down
4 changes: 2 additions & 2 deletions build/deploy/amazon-1/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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; \
Expand Down
4 changes: 2 additions & 2 deletions build/deploy/amazon-2/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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; \
Expand Down
4 changes: 2 additions & 2 deletions build/deploy/debian-buster/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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; \
Expand Down
4 changes: 2 additions & 2 deletions build/deploy/debian-jessie/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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; \
Expand Down
4 changes: 2 additions & 2 deletions build/deploy/debian-stretch/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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; \
Expand Down
4 changes: 2 additions & 2 deletions build/deploy/fedora-38/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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; \
Expand Down
4 changes: 2 additions & 2 deletions build/deploy/rocky-8/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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; \
Expand Down
4 changes: 2 additions & 2 deletions build/deploy/rocky-9/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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; \
Expand Down
4 changes: 2 additions & 2 deletions build/deploy/ubuntu-bionic/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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; \
Expand Down
4 changes: 2 additions & 2 deletions build/deploy/ubuntu-focal/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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; \
Expand Down
4 changes: 2 additions & 2 deletions build/deploy/ubuntu-jammy/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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; \
Expand Down
4 changes: 2 additions & 2 deletions build/deploy/ubuntu-noble/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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; \
Expand Down
2 changes: 1 addition & 1 deletion pkg/constants/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down

0 comments on commit 424ad3f

Please sign in to comment.