Skip to content

Commit

Permalink
chore: update golang to 1.21.6
Browse files Browse the repository at this point in the history
  • Loading branch information
M0Rf30 committed Jan 13, 2024
1 parent d8b6b4d commit 613bfc1
Show file tree
Hide file tree
Showing 12 changed files with 23 additions and 23 deletions.
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.21.3.linux-amd64.tar.gz --output go.tar.gz; \
echo "1241381b2843fae5a9707eec1f8fb2ef94d827990582c7c7c32f5bdfbfd420c8 go.tar.gz" | sha256sum -c - ; \
curl -sL https://go.dev/dl/go1.21.6.linux-amd64.tar.gz --output go.tar.gz; \
echo "3f934f40ac360b9c01f616a9aa1796d227d8b0328bf64cb045c7b8c4ee9caea4 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.21.3.linux-amd64.tar.gz --output go.tar.gz; \
echo "1241381b2843fae5a9707eec1f8fb2ef94d827990582c7c7c32f5bdfbfd420c8 go.tar.gz" | sha256sum -c - ; \
curl -sL https://go.dev/dl/go1.21.6.linux-amd64.tar.gz --output go.tar.gz; \
echo "3f934f40ac360b9c01f616a9aa1796d227d8b0328bf64cb045c7b8c4ee9caea4 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; \
curl -sL https://go.dev/dl/go1.21.3.linux-amd64.tar.gz --output go.tar.gz; \
echo "1241381b2843fae5a9707eec1f8fb2ef94d827990582c7c7c32f5bdfbfd420c8 go.tar.gz" | sha256sum -c - ; \
curl -sL https://go.dev/dl/go1.21.6.linux-amd64.tar.gz --output go.tar.gz; \
echo "3f934f40ac360b9c01f616a9aa1796d227d8b0328bf64cb045c7b8c4ee9caea4 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; \
curl -sL https://go.dev/dl/go1.21.3.linux-amd64.tar.gz --output go.tar.gz; \
echo "1241381b2843fae5a9707eec1f8fb2ef94d827990582c7c7c32f5bdfbfd420c8 go.tar.gz" | sha256sum -c - ; \
curl -sL https://go.dev/dl/go1.21.6.linux-amd64.tar.gz --output go.tar.gz; \
echo "3f934f40ac360b9c01f616a9aa1796d227d8b0328bf64cb045c7b8c4ee9caea4 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; \
curl -sL https://go.dev/dl/go1.21.3.linux-amd64.tar.gz --output go.tar.gz; \
echo "1241381b2843fae5a9707eec1f8fb2ef94d827990582c7c7c32f5bdfbfd420c8 go.tar.gz" | sha256sum -c - ; \
curl -sL https://go.dev/dl/go1.21.6.linux-amd64.tar.gz --output go.tar.gz; \
echo "3f934f40ac360b9c01f616a9aa1796d227d8b0328bf64cb045c7b8c4ee9caea4 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; \
curl -sL https://go.dev/dl/go1.21.3.linux-amd64.tar.gz --output go.tar.gz; \
echo "1241381b2843fae5a9707eec1f8fb2ef94d827990582c7c7c32f5bdfbfd420c8 go.tar.gz" | sha256sum -c - ; \
curl -sL https://go.dev/dl/go1.21.6.linux-amd64.tar.gz --output go.tar.gz; \
echo "3f934f40ac360b9c01f616a9aa1796d227d8b0328bf64cb045c7b8c4ee9caea4 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.21.3.linux-amd64.tar.gz --output go.tar.gz; \
echo "1241381b2843fae5a9707eec1f8fb2ef94d827990582c7c7c32f5bdfbfd420c8 go.tar.gz" | sha256sum -c - ; \
curl -sL https://go.dev/dl/go1.21.6.linux-amd64.tar.gz --output go.tar.gz; \
echo "3f934f40ac360b9c01f616a9aa1796d227d8b0328bf64cb045c7b8c4ee9caea4 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.21.3.linux-amd64.tar.gz --output go.tar.gz; \
echo "1241381b2843fae5a9707eec1f8fb2ef94d827990582c7c7c32f5bdfbfd420c8 go.tar.gz" | sha256sum -c - ; \
curl -sL https://go.dev/dl/go1.21.6.linux-amd64.tar.gz --output go.tar.gz; \
echo "3f934f40ac360b9c01f616a9aa1796d227d8b0328bf64cb045c7b8c4ee9caea4 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; \
curl -sL https://go.dev/dl/go1.21.3.linux-amd64.tar.gz --output go.tar.gz; \
echo "1241381b2843fae5a9707eec1f8fb2ef94d827990582c7c7c32f5bdfbfd420c8 go.tar.gz" | sha256sum -c - ; \
curl -sL https://go.dev/dl/go1.21.6.linux-amd64.tar.gz --output go.tar.gz; \
echo "3f934f40ac360b9c01f616a9aa1796d227d8b0328bf64cb045c7b8c4ee9caea4 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; \
curl -sL https://go.dev/dl/go1.21.3.linux-amd64.tar.gz --output go.tar.gz; \
echo "1241381b2843fae5a9707eec1f8fb2ef94d827990582c7c7c32f5bdfbfd420c8 go.tar.gz" | sha256sum -c - ; \
curl -sL https://go.dev/dl/go1.21.6.linux-amd64.tar.gz --output go.tar.gz; \
echo "3f934f40ac360b9c01f616a9aa1796d227d8b0328bf64cb045c7b8c4ee9caea4 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; \
curl -sL https://go.dev/dl/go1.21.3.linux-amd64.tar.gz --output go.tar.gz; \
echo "1241381b2843fae5a9707eec1f8fb2ef94d827990582c7c7c32f5bdfbfd420c8 go.tar.gz" | sha256sum -c - ; \
curl -sL https://go.dev/dl/go1.21.6.linux-amd64.tar.gz --output go.tar.gz; \
echo "3f934f40ac360b9c01f616a9aa1796d227d8b0328bf64cb045c7b8c4ee9caea4 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 @@ -13,7 +13,7 @@ const (
ColorWhite = "\033[37m"
DockerOrg = "m0rf30/yap-"
Git = "git"
GoArchiveURL = "https://go.dev/dl/go1.21.3.linux-amd64.tar.gz"
GoArchiveURL = "https://go.dev/dl/go1.21.6.linux-amd64.tar.gz"
)

var (
Expand Down

0 comments on commit 613bfc1

Please sign in to comment.