Skip to content

Commit

Permalink
chore: update golang to 1.23.1
Browse files Browse the repository at this point in the history
  • Loading branch information
M0Rf30 committed Sep 22, 2024
1 parent 74a5cdc commit 7b37c1b
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.1.linux-amd64.tar.gz -O go.tar.gz; \
echo "49bbb517cfa9eee677e1e7897f7cf9cfdbcf49e05f61984a2789136de359f9bd 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.1.linux-amd64.tar.gz --output go.tar.gz; \
echo "49bbb517cfa9eee677e1e7897f7cf9cfdbcf49e05f61984a2789136de359f9bd 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.1.linux-amd64.tar.gz --output go.tar.gz; \
echo "49bbb517cfa9eee677e1e7897f7cf9cfdbcf49e05f61984a2789136de359f9bd 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.1.linux-amd64.tar.gz --output go.tar.gz; \
echo "49bbb517cfa9eee677e1e7897f7cf9cfdbcf49e05f61984a2789136de359f9bd 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.1.linux-amd64.tar.gz --output go.tar.gz; \
echo "49bbb517cfa9eee677e1e7897f7cf9cfdbcf49e05f61984a2789136de359f9bd 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.1.linux-amd64.tar.gz --output go.tar.gz; \
echo "49bbb517cfa9eee677e1e7897f7cf9cfdbcf49e05f61984a2789136de359f9bd 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.1.linux-amd64.tar.gz --output go.tar.gz; \
echo "49bbb517cfa9eee677e1e7897f7cf9cfdbcf49e05f61984a2789136de359f9bd 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.1.linux-amd64.tar.gz --output go.tar.gz; \
echo "49bbb517cfa9eee677e1e7897f7cf9cfdbcf49e05f61984a2789136de359f9bd 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.1.linux-amd64.tar.gz --output go.tar.gz; \
echo "49bbb517cfa9eee677e1e7897f7cf9cfdbcf49e05f61984a2789136de359f9bd 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.1.linux-amd64.tar.gz --output go.tar.gz; \
echo "49bbb517cfa9eee677e1e7897f7cf9cfdbcf49e05f61984a2789136de359f9bd 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.1.linux-amd64.tar.gz --output go.tar.gz; \
echo "49bbb517cfa9eee677e1e7897f7cf9cfdbcf49e05f61984a2789136de359f9bd 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.1.linux-amd64.tar.gz --output go.tar.gz; \
echo "49bbb517cfa9eee677e1e7897f7cf9cfdbcf49e05f61984a2789136de359f9bd 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.1.linux-amd64.tar.gz --output go.tar.gz; \
echo "49bbb517cfa9eee677e1e7897f7cf9cfdbcf49e05f61984a2789136de359f9bd 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.1.linux-amd64.tar.gz"
)

var (
Expand Down

0 comments on commit 7b37c1b

Please sign in to comment.