Skip to content

Commit

Permalink
chore: update golang to 1.21.1
Browse files Browse the repository at this point in the history
  • Loading branch information
M0Rf30 committed Sep 7, 2023
1 parent a3e2357 commit 65dcbc4
Show file tree
Hide file tree
Showing 12 changed files with 23 additions and 23 deletions.
2 changes: 1 addition & 1 deletion constants/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down
4 changes: 2 additions & 2 deletions docker/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.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; \
Expand Down
4 changes: 2 additions & 2 deletions docker/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.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; \
Expand Down
4 changes: 2 additions & 2 deletions docker/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; \
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; \
Expand Down
4 changes: 2 additions & 2 deletions docker/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; \
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; \
Expand Down
4 changes: 2 additions & 2 deletions docker/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; \
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; \
Expand Down
4 changes: 2 additions & 2 deletions docker/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; \
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; \
Expand Down
4 changes: 2 additions & 2 deletions docker/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.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; \
Expand Down
4 changes: 2 additions & 2 deletions docker/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 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; \
Expand Down
4 changes: 2 additions & 2 deletions docker/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; \
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; \
Expand Down
4 changes: 2 additions & 2 deletions docker/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; \
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; \
Expand Down
4 changes: 2 additions & 2 deletions docker/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; \
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; \
Expand Down

0 comments on commit 65dcbc4

Please sign in to comment.