From e4e2e5e3b96141bf31de0f011c676406e8ef0f66 Mon Sep 17 00:00:00 2001 From: Tianon Gravi Date: Tue, 15 Mar 2022 10:45:28 -0700 Subject: [PATCH] Update to 1.18 GA (drop 1.16) --- 1.16/bullseye/Dockerfile | 122 ---------- 1.16/buster/Dockerfile | 122 ---------- 1.16/windows/nanoserver-1809/Dockerfile | 30 --- 1.16/windows/nanoserver-ltsc2022/Dockerfile | 30 --- .../windows/windowsservercore-1809/Dockerfile | 81 ------- .../windowsservercore-ltsc2022/Dockerfile | 81 ------- 1.18-rc/alpine3.14/Dockerfile | 109 --------- 1.18-rc/alpine3.15/Dockerfile | 109 --------- 1.18-rc/stretch/Dockerfile | 122 ---------- {1.16 => 1.18}/alpine3.14/Dockerfile | 6 +- {1.16 => 1.18}/alpine3.15/Dockerfile | 6 +- {1.18-rc => 1.18}/bullseye/Dockerfile | 30 +-- {1.18-rc => 1.18}/buster/Dockerfile | 30 +-- {1.16 => 1.18}/stretch/Dockerfile | 30 +-- .../windows/nanoserver-1809/Dockerfile | 4 +- .../windows/nanoserver-ltsc2022/Dockerfile | 4 +- .../windows/windowsservercore-1809/Dockerfile | 6 +- .../windowsservercore-ltsc2022/Dockerfile | 6 +- versions.json | 220 +++--------------- 19 files changed, 93 insertions(+), 1055 deletions(-) delete mode 100644 1.16/bullseye/Dockerfile delete mode 100644 1.16/buster/Dockerfile delete mode 100644 1.16/windows/nanoserver-1809/Dockerfile delete mode 100644 1.16/windows/nanoserver-ltsc2022/Dockerfile delete mode 100644 1.16/windows/windowsservercore-1809/Dockerfile delete mode 100644 1.16/windows/windowsservercore-ltsc2022/Dockerfile delete mode 100644 1.18-rc/alpine3.14/Dockerfile delete mode 100644 1.18-rc/alpine3.15/Dockerfile delete mode 100644 1.18-rc/stretch/Dockerfile rename {1.16 => 1.18}/alpine3.14/Dockerfile (95%) rename {1.16 => 1.18}/alpine3.15/Dockerfile (95%) rename {1.18-rc => 1.18}/bullseye/Dockerfile (74%) rename {1.18-rc => 1.18}/buster/Dockerfile (74%) rename {1.16 => 1.18}/stretch/Dockerfile (74%) rename {1.18-rc => 1.18}/windows/nanoserver-1809/Dockerfile (88%) rename {1.18-rc => 1.18}/windows/nanoserver-ltsc2022/Dockerfile (88%) rename {1.18-rc => 1.18}/windows/windowsservercore-1809/Dockerfile (95%) rename {1.18-rc => 1.18}/windows/windowsservercore-ltsc2022/Dockerfile (95%) diff --git a/1.16/bullseye/Dockerfile b/1.16/bullseye/Dockerfile deleted file mode 100644 index 13151b04..00000000 --- a/1.16/bullseye/Dockerfile +++ /dev/null @@ -1,122 +0,0 @@ -# -# NOTE: THIS DOCKERFILE IS GENERATED VIA "apply-templates.sh" -# -# PLEASE DO NOT EDIT IT DIRECTLY. -# - -FROM buildpack-deps:bullseye-scm - -# install cgo-related dependencies -RUN set -eux; \ - apt-get update; \ - apt-get install -y --no-install-recommends \ - g++ \ - gcc \ - libc6-dev \ - make \ - pkg-config \ - ; \ - rm -rf /var/lib/apt/lists/* - -ENV PATH /usr/local/go/bin:$PATH - -ENV GOLANG_VERSION 1.16.15 - -RUN set -eux; \ - arch="$(dpkg --print-architecture)"; arch="${arch##*-}"; \ - url=; \ - case "$arch" in \ - 'amd64') \ - url='https://dl.google.com/go/go1.16.15.linux-amd64.tar.gz'; \ - sha256='77c782a633186d78c384f972fb113a43c24be0234c42fef22c2d8c4c4c8e7475'; \ - ;; \ - 'armel') \ - export GOARCH='arm' GOARM='5' GOOS='linux'; \ - ;; \ - 'armhf') \ - url='https://dl.google.com/go/go1.16.15.linux-armv6l.tar.gz'; \ - sha256='77d22e294ca4d0f1c4e65d7705902d73ec376e96da473023002333e087ab3106'; \ - ;; \ - 'arm64') \ - url='https://dl.google.com/go/go1.16.15.linux-arm64.tar.gz'; \ - sha256='c2f27f0ce5620a9bc2ff3446165d1974ef94e9b885ec12dbfa3c07e0e198b7ce'; \ - ;; \ - 'i386') \ - url='https://dl.google.com/go/go1.16.15.linux-386.tar.gz'; \ - sha256='81bbff5e671de7e92fc899c7595b5ece4c4e5afa367e613a2aa40c40a0ce8bf1'; \ - ;; \ - 'mips64el') \ - export GOARCH='mips64le' GOOS='linux'; \ - ;; \ - 'ppc64el') \ - url='https://dl.google.com/go/go1.16.15.linux-ppc64le.tar.gz'; \ - sha256='f01ce3d9f007dbc0212db477901402a1c313b00c47d07b55ec3ecf780f039a05'; \ - ;; \ - 's390x') \ - url='https://dl.google.com/go/go1.16.15.linux-s390x.tar.gz'; \ - sha256='bec2755dabc46b105d9eab9da7fc61ebd84eb0bd0bb715559dd5930b5a9ebf1a'; \ - ;; \ - *) echo >&2 "error: unsupported architecture '$arch' (likely packaging update needed)"; exit 1 ;; \ - esac; \ - build=; \ - if [ -z "$url" ]; then \ -# https://github.com/golang/go/issues/38536#issuecomment-616897960 - build=1; \ - url='https://dl.google.com/go/go1.16.15.src.tar.gz'; \ - sha256='90a08c689279e35f3865ba510998c33a63255c36089b3ec206c912fc0568c3d3'; \ - echo >&2; \ - echo >&2 "warning: current architecture ($arch) does not have a compatible Go binary release; will be building from source"; \ - echo >&2; \ - fi; \ - \ - wget -O go.tgz.asc "$url.asc"; \ - wget -O go.tgz "$url" --progress=dot:giga; \ - echo "$sha256 *go.tgz" | sha256sum -c -; \ - \ -# https://github.com/golang/go/issues/14739#issuecomment-324767697 - GNUPGHOME="$(mktemp -d)"; export GNUPGHOME; \ -# https://www.google.com/linuxrepositories/ - gpg --batch --keyserver keyserver.ubuntu.com --recv-keys 'EB4C 1BFD 4F04 2F6D DDCC EC91 7721 F63B D38B 4796'; \ -# let's also fetch the specific subkey of that key explicitly that we expect "go.tgz.asc" to be signed by, just to make sure we definitely have it - gpg --batch --keyserver keyserver.ubuntu.com --recv-keys '2F52 8D36 D67B 69ED F998 D857 78BD 6547 3CB3 BD13'; \ - gpg --batch --verify go.tgz.asc go.tgz; \ - gpgconf --kill all; \ - rm -rf "$GNUPGHOME" go.tgz.asc; \ - \ - tar -C /usr/local -xzf go.tgz; \ - rm go.tgz; \ - \ - if [ -n "$build" ]; then \ - savedAptMark="$(apt-mark showmanual)"; \ - apt-get update; \ - apt-get install -y --no-install-recommends golang-go; \ - \ - ( \ - cd /usr/local/go/src; \ -# set GOROOT_BOOTSTRAP + GOHOST* such that we can build Go successfully - export GOROOT_BOOTSTRAP="$(go env GOROOT)" GOHOSTOS="$GOOS" GOHOSTARCH="$GOARCH"; \ - ./make.bash; \ - ); \ - \ - apt-mark auto '.*' > /dev/null; \ - apt-mark manual $savedAptMark > /dev/null; \ - apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \ - rm -rf /var/lib/apt/lists/*; \ - \ -# remove a few intermediate / bootstrapping files the official binary release tarballs do not contain - rm -rf \ - /usr/local/go/pkg/*/cmd \ - /usr/local/go/pkg/bootstrap \ - /usr/local/go/pkg/obj \ - /usr/local/go/pkg/tool/*/api \ - /usr/local/go/pkg/tool/*/go_bootstrap \ - /usr/local/go/src/cmd/dist/dist \ - ; \ - fi; \ - \ - go version - -ENV GOPATH /go -ENV PATH $GOPATH/bin:$PATH -RUN mkdir -p "$GOPATH/src" "$GOPATH/bin" && chmod -R 777 "$GOPATH" -WORKDIR $GOPATH diff --git a/1.16/buster/Dockerfile b/1.16/buster/Dockerfile deleted file mode 100644 index 9ab92866..00000000 --- a/1.16/buster/Dockerfile +++ /dev/null @@ -1,122 +0,0 @@ -# -# NOTE: THIS DOCKERFILE IS GENERATED VIA "apply-templates.sh" -# -# PLEASE DO NOT EDIT IT DIRECTLY. -# - -FROM buildpack-deps:buster-scm - -# install cgo-related dependencies -RUN set -eux; \ - apt-get update; \ - apt-get install -y --no-install-recommends \ - g++ \ - gcc \ - libc6-dev \ - make \ - pkg-config \ - ; \ - rm -rf /var/lib/apt/lists/* - -ENV PATH /usr/local/go/bin:$PATH - -ENV GOLANG_VERSION 1.16.15 - -RUN set -eux; \ - arch="$(dpkg --print-architecture)"; arch="${arch##*-}"; \ - url=; \ - case "$arch" in \ - 'amd64') \ - url='https://dl.google.com/go/go1.16.15.linux-amd64.tar.gz'; \ - sha256='77c782a633186d78c384f972fb113a43c24be0234c42fef22c2d8c4c4c8e7475'; \ - ;; \ - 'armel') \ - export GOARCH='arm' GOARM='5' GOOS='linux'; \ - ;; \ - 'armhf') \ - url='https://dl.google.com/go/go1.16.15.linux-armv6l.tar.gz'; \ - sha256='77d22e294ca4d0f1c4e65d7705902d73ec376e96da473023002333e087ab3106'; \ - ;; \ - 'arm64') \ - url='https://dl.google.com/go/go1.16.15.linux-arm64.tar.gz'; \ - sha256='c2f27f0ce5620a9bc2ff3446165d1974ef94e9b885ec12dbfa3c07e0e198b7ce'; \ - ;; \ - 'i386') \ - url='https://dl.google.com/go/go1.16.15.linux-386.tar.gz'; \ - sha256='81bbff5e671de7e92fc899c7595b5ece4c4e5afa367e613a2aa40c40a0ce8bf1'; \ - ;; \ - 'mips64el') \ - export GOARCH='mips64le' GOOS='linux'; \ - ;; \ - 'ppc64el') \ - url='https://dl.google.com/go/go1.16.15.linux-ppc64le.tar.gz'; \ - sha256='f01ce3d9f007dbc0212db477901402a1c313b00c47d07b55ec3ecf780f039a05'; \ - ;; \ - 's390x') \ - url='https://dl.google.com/go/go1.16.15.linux-s390x.tar.gz'; \ - sha256='bec2755dabc46b105d9eab9da7fc61ebd84eb0bd0bb715559dd5930b5a9ebf1a'; \ - ;; \ - *) echo >&2 "error: unsupported architecture '$arch' (likely packaging update needed)"; exit 1 ;; \ - esac; \ - build=; \ - if [ -z "$url" ]; then \ -# https://github.com/golang/go/issues/38536#issuecomment-616897960 - build=1; \ - url='https://dl.google.com/go/go1.16.15.src.tar.gz'; \ - sha256='90a08c689279e35f3865ba510998c33a63255c36089b3ec206c912fc0568c3d3'; \ - echo >&2; \ - echo >&2 "warning: current architecture ($arch) does not have a compatible Go binary release; will be building from source"; \ - echo >&2; \ - fi; \ - \ - wget -O go.tgz.asc "$url.asc"; \ - wget -O go.tgz "$url" --progress=dot:giga; \ - echo "$sha256 *go.tgz" | sha256sum -c -; \ - \ -# https://github.com/golang/go/issues/14739#issuecomment-324767697 - GNUPGHOME="$(mktemp -d)"; export GNUPGHOME; \ -# https://www.google.com/linuxrepositories/ - gpg --batch --keyserver keyserver.ubuntu.com --recv-keys 'EB4C 1BFD 4F04 2F6D DDCC EC91 7721 F63B D38B 4796'; \ -# let's also fetch the specific subkey of that key explicitly that we expect "go.tgz.asc" to be signed by, just to make sure we definitely have it - gpg --batch --keyserver keyserver.ubuntu.com --recv-keys '2F52 8D36 D67B 69ED F998 D857 78BD 6547 3CB3 BD13'; \ - gpg --batch --verify go.tgz.asc go.tgz; \ - gpgconf --kill all; \ - rm -rf "$GNUPGHOME" go.tgz.asc; \ - \ - tar -C /usr/local -xzf go.tgz; \ - rm go.tgz; \ - \ - if [ -n "$build" ]; then \ - savedAptMark="$(apt-mark showmanual)"; \ - apt-get update; \ - apt-get install -y --no-install-recommends golang-go; \ - \ - ( \ - cd /usr/local/go/src; \ -# set GOROOT_BOOTSTRAP + GOHOST* such that we can build Go successfully - export GOROOT_BOOTSTRAP="$(go env GOROOT)" GOHOSTOS="$GOOS" GOHOSTARCH="$GOARCH"; \ - ./make.bash; \ - ); \ - \ - apt-mark auto '.*' > /dev/null; \ - apt-mark manual $savedAptMark > /dev/null; \ - apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \ - rm -rf /var/lib/apt/lists/*; \ - \ -# remove a few intermediate / bootstrapping files the official binary release tarballs do not contain - rm -rf \ - /usr/local/go/pkg/*/cmd \ - /usr/local/go/pkg/bootstrap \ - /usr/local/go/pkg/obj \ - /usr/local/go/pkg/tool/*/api \ - /usr/local/go/pkg/tool/*/go_bootstrap \ - /usr/local/go/src/cmd/dist/dist \ - ; \ - fi; \ - \ - go version - -ENV GOPATH /go -ENV PATH $GOPATH/bin:$PATH -RUN mkdir -p "$GOPATH/src" "$GOPATH/bin" && chmod -R 777 "$GOPATH" -WORKDIR $GOPATH diff --git a/1.16/windows/nanoserver-1809/Dockerfile b/1.16/windows/nanoserver-1809/Dockerfile deleted file mode 100644 index a858c96b..00000000 --- a/1.16/windows/nanoserver-1809/Dockerfile +++ /dev/null @@ -1,30 +0,0 @@ -# -# NOTE: THIS DOCKERFILE IS GENERATED VIA "apply-templates.sh" -# -# PLEASE DO NOT EDIT IT DIRECTLY. -# - -FROM mcr.microsoft.com/windows/nanoserver:1809 - -SHELL ["cmd", "/S", "/C"] - -# no Git installed (intentionally) -# -- Nano Server is "Windows Slim" - -# ideally, this would be C:\go to match Linux a bit closer, but C:\go was the default install path for Go itself on Windows -ENV GOPATH C:\\gopath -# (https://golang.org/cl/283600) - -# PATH isn't actually set in the Docker image, so we have to set it from within the container -USER ContainerAdministrator -RUN setx /m PATH "%GOPATH%\bin;C:\go\bin;%PATH%" -USER ContainerUser -# doing this first to share cache across versions more aggressively - -ENV GOLANG_VERSION 1.16.15 - -# Docker's Windows path parsing is absolutely *cursed*; please just trust me on this one -Tianon -COPY --from=golang:1.16.15-windowsservercore-1809 ["C:\\\\go","C:\\\\go"] -RUN go version - -WORKDIR $GOPATH diff --git a/1.16/windows/nanoserver-ltsc2022/Dockerfile b/1.16/windows/nanoserver-ltsc2022/Dockerfile deleted file mode 100644 index c8afef5e..00000000 --- a/1.16/windows/nanoserver-ltsc2022/Dockerfile +++ /dev/null @@ -1,30 +0,0 @@ -# -# NOTE: THIS DOCKERFILE IS GENERATED VIA "apply-templates.sh" -# -# PLEASE DO NOT EDIT IT DIRECTLY. -# - -FROM mcr.microsoft.com/windows/nanoserver:ltsc2022 - -SHELL ["cmd", "/S", "/C"] - -# no Git installed (intentionally) -# -- Nano Server is "Windows Slim" - -# ideally, this would be C:\go to match Linux a bit closer, but C:\go was the default install path for Go itself on Windows -ENV GOPATH C:\\gopath -# (https://golang.org/cl/283600) - -# PATH isn't actually set in the Docker image, so we have to set it from within the container -USER ContainerAdministrator -RUN setx /m PATH "%GOPATH%\bin;C:\go\bin;%PATH%" -USER ContainerUser -# doing this first to share cache across versions more aggressively - -ENV GOLANG_VERSION 1.16.15 - -# Docker's Windows path parsing is absolutely *cursed*; please just trust me on this one -Tianon -COPY --from=golang:1.16.15-windowsservercore-ltsc2022 ["C:\\\\go","C:\\\\go"] -RUN go version - -WORKDIR $GOPATH diff --git a/1.16/windows/windowsservercore-1809/Dockerfile b/1.16/windows/windowsservercore-1809/Dockerfile deleted file mode 100644 index 76645288..00000000 --- a/1.16/windows/windowsservercore-1809/Dockerfile +++ /dev/null @@ -1,81 +0,0 @@ -# -# NOTE: THIS DOCKERFILE IS GENERATED VIA "apply-templates.sh" -# -# PLEASE DO NOT EDIT IT DIRECTLY. -# - -FROM mcr.microsoft.com/windows/servercore:1809 - -# $ProgressPreference: https://github.com/PowerShell/PowerShell/issues/2138#issuecomment-251261324 -SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"] - -# install MinGit (especially for "go get") -# https://blogs.msdn.microsoft.com/visualstudioalm/2016/09/03/whats-new-in-git-for-windows-2-10/ -# "Essentially, it is a Git for Windows that was stripped down as much as possible without sacrificing the functionality in which 3rd-party software may be interested." -# "It currently requires only ~45MB on disk." -ENV GIT_VERSION 2.23.0 -ENV GIT_TAG v${GIT_VERSION}.windows.1 -ENV GIT_DOWNLOAD_URL https://github.com/git-for-windows/git/releases/download/${GIT_TAG}/MinGit-${GIT_VERSION}-64-bit.zip -ENV GIT_DOWNLOAD_SHA256 8f65208f92c0b4c3ae4c0cf02d4b5f6791d539cd1a07b2df62b7116467724735 -# steps inspired by "chcolateyInstall.ps1" from "git.install" (https://chocolatey.org/packages/git.install) -RUN Write-Host ('Downloading {0} ...' -f $env:GIT_DOWNLOAD_URL); \ - [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; \ - Invoke-WebRequest -Uri $env:GIT_DOWNLOAD_URL -OutFile 'git.zip'; \ - \ - Write-Host ('Verifying sha256 ({0}) ...' -f $env:GIT_DOWNLOAD_SHA256); \ - if ((Get-FileHash git.zip -Algorithm sha256).Hash -ne $env:GIT_DOWNLOAD_SHA256) { \ - Write-Host 'FAILED!'; \ - exit 1; \ - }; \ - \ - Write-Host 'Expanding ...'; \ - Expand-Archive -Path git.zip -DestinationPath C:\git\.; \ - \ - Write-Host 'Removing ...'; \ - Remove-Item git.zip -Force; \ - \ - Write-Host 'Updating PATH ...'; \ - $env:PATH = 'C:\git\cmd;C:\git\mingw64\bin;C:\git\usr\bin;' + $env:PATH; \ - [Environment]::SetEnvironmentVariable('PATH', $env:PATH, [EnvironmentVariableTarget]::Machine); \ - \ - Write-Host 'Verifying install ("git version") ...'; \ - git version; \ - \ - Write-Host 'Complete.'; - -# ideally, this would be C:\go to match Linux a bit closer, but C:\go was the default install path for Go itself on Windows -ENV GOPATH C:\\gopath -# (https://golang.org/cl/283600) - -# PATH isn't actually set in the Docker image, so we have to set it from within the container -RUN $newPath = ('{0}\bin;C:\go\bin;{1}' -f $env:GOPATH, $env:PATH); \ - Write-Host ('Updating PATH: {0}' -f $newPath); \ - [Environment]::SetEnvironmentVariable('PATH', $newPath, [EnvironmentVariableTarget]::Machine); -# doing this first to share cache across versions more aggressively - -ENV GOLANG_VERSION 1.16.15 - -RUN $url = 'https://dl.google.com/go/go1.16.15.windows-amd64.zip'; \ - Write-Host ('Downloading {0} ...' -f $url); \ - [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; \ - Invoke-WebRequest -Uri $url -OutFile 'go.zip'; \ - \ - $sha256 = '0d6e551206b6d744d1286e62abf46aa2f17fed90f07ec4624a0448d71380407d'; \ - Write-Host ('Verifying sha256 ({0}) ...' -f $sha256); \ - if ((Get-FileHash go.zip -Algorithm sha256).Hash -ne $sha256) { \ - Write-Host 'FAILED!'; \ - exit 1; \ - }; \ - \ - Write-Host 'Expanding ...'; \ - Expand-Archive go.zip -DestinationPath C:\; \ - \ - Write-Host 'Removing ...'; \ - Remove-Item go.zip -Force; \ - \ - Write-Host 'Verifying install ("go version") ...'; \ - go version; \ - \ - Write-Host 'Complete.'; - -WORKDIR $GOPATH diff --git a/1.16/windows/windowsservercore-ltsc2022/Dockerfile b/1.16/windows/windowsservercore-ltsc2022/Dockerfile deleted file mode 100644 index 57d02fbc..00000000 --- a/1.16/windows/windowsservercore-ltsc2022/Dockerfile +++ /dev/null @@ -1,81 +0,0 @@ -# -# NOTE: THIS DOCKERFILE IS GENERATED VIA "apply-templates.sh" -# -# PLEASE DO NOT EDIT IT DIRECTLY. -# - -FROM mcr.microsoft.com/windows/servercore:ltsc2022 - -# $ProgressPreference: https://github.com/PowerShell/PowerShell/issues/2138#issuecomment-251261324 -SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"] - -# install MinGit (especially for "go get") -# https://blogs.msdn.microsoft.com/visualstudioalm/2016/09/03/whats-new-in-git-for-windows-2-10/ -# "Essentially, it is a Git for Windows that was stripped down as much as possible without sacrificing the functionality in which 3rd-party software may be interested." -# "It currently requires only ~45MB on disk." -ENV GIT_VERSION 2.23.0 -ENV GIT_TAG v${GIT_VERSION}.windows.1 -ENV GIT_DOWNLOAD_URL https://github.com/git-for-windows/git/releases/download/${GIT_TAG}/MinGit-${GIT_VERSION}-64-bit.zip -ENV GIT_DOWNLOAD_SHA256 8f65208f92c0b4c3ae4c0cf02d4b5f6791d539cd1a07b2df62b7116467724735 -# steps inspired by "chcolateyInstall.ps1" from "git.install" (https://chocolatey.org/packages/git.install) -RUN Write-Host ('Downloading {0} ...' -f $env:GIT_DOWNLOAD_URL); \ - [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; \ - Invoke-WebRequest -Uri $env:GIT_DOWNLOAD_URL -OutFile 'git.zip'; \ - \ - Write-Host ('Verifying sha256 ({0}) ...' -f $env:GIT_DOWNLOAD_SHA256); \ - if ((Get-FileHash git.zip -Algorithm sha256).Hash -ne $env:GIT_DOWNLOAD_SHA256) { \ - Write-Host 'FAILED!'; \ - exit 1; \ - }; \ - \ - Write-Host 'Expanding ...'; \ - Expand-Archive -Path git.zip -DestinationPath C:\git\.; \ - \ - Write-Host 'Removing ...'; \ - Remove-Item git.zip -Force; \ - \ - Write-Host 'Updating PATH ...'; \ - $env:PATH = 'C:\git\cmd;C:\git\mingw64\bin;C:\git\usr\bin;' + $env:PATH; \ - [Environment]::SetEnvironmentVariable('PATH', $env:PATH, [EnvironmentVariableTarget]::Machine); \ - \ - Write-Host 'Verifying install ("git version") ...'; \ - git version; \ - \ - Write-Host 'Complete.'; - -# ideally, this would be C:\go to match Linux a bit closer, but C:\go was the default install path for Go itself on Windows -ENV GOPATH C:\\gopath -# (https://golang.org/cl/283600) - -# PATH isn't actually set in the Docker image, so we have to set it from within the container -RUN $newPath = ('{0}\bin;C:\go\bin;{1}' -f $env:GOPATH, $env:PATH); \ - Write-Host ('Updating PATH: {0}' -f $newPath); \ - [Environment]::SetEnvironmentVariable('PATH', $newPath, [EnvironmentVariableTarget]::Machine); -# doing this first to share cache across versions more aggressively - -ENV GOLANG_VERSION 1.16.15 - -RUN $url = 'https://dl.google.com/go/go1.16.15.windows-amd64.zip'; \ - Write-Host ('Downloading {0} ...' -f $url); \ - [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; \ - Invoke-WebRequest -Uri $url -OutFile 'go.zip'; \ - \ - $sha256 = '0d6e551206b6d744d1286e62abf46aa2f17fed90f07ec4624a0448d71380407d'; \ - Write-Host ('Verifying sha256 ({0}) ...' -f $sha256); \ - if ((Get-FileHash go.zip -Algorithm sha256).Hash -ne $sha256) { \ - Write-Host 'FAILED!'; \ - exit 1; \ - }; \ - \ - Write-Host 'Expanding ...'; \ - Expand-Archive go.zip -DestinationPath C:\; \ - \ - Write-Host 'Removing ...'; \ - Remove-Item go.zip -Force; \ - \ - Write-Host 'Verifying install ("go version") ...'; \ - go version; \ - \ - Write-Host 'Complete.'; - -WORKDIR $GOPATH diff --git a/1.18-rc/alpine3.14/Dockerfile b/1.18-rc/alpine3.14/Dockerfile deleted file mode 100644 index 327a0d58..00000000 --- a/1.18-rc/alpine3.14/Dockerfile +++ /dev/null @@ -1,109 +0,0 @@ -# -# NOTE: THIS DOCKERFILE IS GENERATED VIA "apply-templates.sh" -# -# PLEASE DO NOT EDIT IT DIRECTLY. -# - -FROM alpine:3.14 - -RUN apk add --no-cache ca-certificates - -# set up nsswitch.conf for Go's "netgo" implementation -# - https://github.com/golang/go/blob/go1.9.1/src/net/conf.go#L194-L275 -# - docker run --rm debian:stretch grep '^hosts:' /etc/nsswitch.conf -RUN [ ! -e /etc/nsswitch.conf ] && echo 'hosts: files dns' > /etc/nsswitch.conf - -ENV PATH /usr/local/go/bin:$PATH - -ENV GOLANG_VERSION 1.18rc1 - -RUN set -eux; \ - apk add --no-cache --virtual .fetch-deps gnupg; \ - arch="$(apk --print-arch)"; \ - url=; \ - case "$arch" in \ - 'x86_64') \ - export GOARCH='amd64' GOOS='linux'; \ - ;; \ - 'armhf') \ - export GOARCH='arm' GOARM='6' GOOS='linux'; \ - ;; \ - 'armv7') \ - export GOARCH='arm' GOARM='7' GOOS='linux'; \ - ;; \ - 'aarch64') \ - export GOARCH='arm64' GOOS='linux'; \ - ;; \ - 'x86') \ - export GO386='softfloat' GOARCH='386' GOOS='linux'; \ - ;; \ - 'ppc64le') \ - export GOARCH='ppc64le' GOOS='linux'; \ - ;; \ - 's390x') \ - export GOARCH='s390x' GOOS='linux'; \ - ;; \ - *) echo >&2 "error: unsupported architecture '$arch' (likely packaging update needed)"; exit 1 ;; \ - esac; \ - build=; \ - if [ -z "$url" ]; then \ -# https://github.com/golang/go/issues/38536#issuecomment-616897960 - build=1; \ - url='https://dl.google.com/go/go1.18rc1.src.tar.gz'; \ - sha256='5cec7a6653008fa85f8821b33665de37be289b7a02f17f36f705a88c43980bb8'; \ -# the precompiled binaries published by Go upstream are not compatible with Alpine, so we always build from source here 😅 - fi; \ - \ - wget -O go.tgz.asc "$url.asc"; \ - wget -O go.tgz "$url"; \ - echo "$sha256 *go.tgz" | sha256sum -c -; \ - \ -# https://github.com/golang/go/issues/14739#issuecomment-324767697 - GNUPGHOME="$(mktemp -d)"; export GNUPGHOME; \ -# https://www.google.com/linuxrepositories/ - gpg --batch --keyserver keyserver.ubuntu.com --recv-keys 'EB4C 1BFD 4F04 2F6D DDCC EC91 7721 F63B D38B 4796'; \ -# let's also fetch the specific subkey of that key explicitly that we expect "go.tgz.asc" to be signed by, just to make sure we definitely have it - gpg --batch --keyserver keyserver.ubuntu.com --recv-keys '2F52 8D36 D67B 69ED F998 D857 78BD 6547 3CB3 BD13'; \ - gpg --batch --verify go.tgz.asc go.tgz; \ - gpgconf --kill all; \ - rm -rf "$GNUPGHOME" go.tgz.asc; \ - \ - tar -C /usr/local -xzf go.tgz; \ - rm go.tgz; \ - \ - if [ -n "$build" ]; then \ - apk add --no-cache --virtual .build-deps \ - bash \ - gcc \ - go \ - musl-dev \ - ; \ - \ - ( \ - cd /usr/local/go/src; \ -# set GOROOT_BOOTSTRAP + GOHOST* such that we can build Go successfully - export GOROOT_BOOTSTRAP="$(go env GOROOT)" GOHOSTOS="$GOOS" GOHOSTARCH="$GOARCH"; \ - ./make.bash; \ - ); \ - \ - apk del --no-network .build-deps; \ - \ -# remove a few intermediate / bootstrapping files the official binary release tarballs do not contain - rm -rf \ - /usr/local/go/pkg/*/cmd \ - /usr/local/go/pkg/bootstrap \ - /usr/local/go/pkg/obj \ - /usr/local/go/pkg/tool/*/api \ - /usr/local/go/pkg/tool/*/go_bootstrap \ - /usr/local/go/src/cmd/dist/dist \ - ; \ - fi; \ - \ - apk del --no-network .fetch-deps; \ - \ - go version - -ENV GOPATH /go -ENV PATH $GOPATH/bin:$PATH -RUN mkdir -p "$GOPATH/src" "$GOPATH/bin" && chmod -R 777 "$GOPATH" -WORKDIR $GOPATH diff --git a/1.18-rc/alpine3.15/Dockerfile b/1.18-rc/alpine3.15/Dockerfile deleted file mode 100644 index 5e7b193f..00000000 --- a/1.18-rc/alpine3.15/Dockerfile +++ /dev/null @@ -1,109 +0,0 @@ -# -# NOTE: THIS DOCKERFILE IS GENERATED VIA "apply-templates.sh" -# -# PLEASE DO NOT EDIT IT DIRECTLY. -# - -FROM alpine:3.15 - -RUN apk add --no-cache ca-certificates - -# set up nsswitch.conf for Go's "netgo" implementation -# - https://github.com/golang/go/blob/go1.9.1/src/net/conf.go#L194-L275 -# - docker run --rm debian:stretch grep '^hosts:' /etc/nsswitch.conf -RUN [ ! -e /etc/nsswitch.conf ] && echo 'hosts: files dns' > /etc/nsswitch.conf - -ENV PATH /usr/local/go/bin:$PATH - -ENV GOLANG_VERSION 1.18rc1 - -RUN set -eux; \ - apk add --no-cache --virtual .fetch-deps gnupg; \ - arch="$(apk --print-arch)"; \ - url=; \ - case "$arch" in \ - 'x86_64') \ - export GOARCH='amd64' GOOS='linux'; \ - ;; \ - 'armhf') \ - export GOARCH='arm' GOARM='6' GOOS='linux'; \ - ;; \ - 'armv7') \ - export GOARCH='arm' GOARM='7' GOOS='linux'; \ - ;; \ - 'aarch64') \ - export GOARCH='arm64' GOOS='linux'; \ - ;; \ - 'x86') \ - export GO386='softfloat' GOARCH='386' GOOS='linux'; \ - ;; \ - 'ppc64le') \ - export GOARCH='ppc64le' GOOS='linux'; \ - ;; \ - 's390x') \ - export GOARCH='s390x' GOOS='linux'; \ - ;; \ - *) echo >&2 "error: unsupported architecture '$arch' (likely packaging update needed)"; exit 1 ;; \ - esac; \ - build=; \ - if [ -z "$url" ]; then \ -# https://github.com/golang/go/issues/38536#issuecomment-616897960 - build=1; \ - url='https://dl.google.com/go/go1.18rc1.src.tar.gz'; \ - sha256='5cec7a6653008fa85f8821b33665de37be289b7a02f17f36f705a88c43980bb8'; \ -# the precompiled binaries published by Go upstream are not compatible with Alpine, so we always build from source here 😅 - fi; \ - \ - wget -O go.tgz.asc "$url.asc"; \ - wget -O go.tgz "$url"; \ - echo "$sha256 *go.tgz" | sha256sum -c -; \ - \ -# https://github.com/golang/go/issues/14739#issuecomment-324767697 - GNUPGHOME="$(mktemp -d)"; export GNUPGHOME; \ -# https://www.google.com/linuxrepositories/ - gpg --batch --keyserver keyserver.ubuntu.com --recv-keys 'EB4C 1BFD 4F04 2F6D DDCC EC91 7721 F63B D38B 4796'; \ -# let's also fetch the specific subkey of that key explicitly that we expect "go.tgz.asc" to be signed by, just to make sure we definitely have it - gpg --batch --keyserver keyserver.ubuntu.com --recv-keys '2F52 8D36 D67B 69ED F998 D857 78BD 6547 3CB3 BD13'; \ - gpg --batch --verify go.tgz.asc go.tgz; \ - gpgconf --kill all; \ - rm -rf "$GNUPGHOME" go.tgz.asc; \ - \ - tar -C /usr/local -xzf go.tgz; \ - rm go.tgz; \ - \ - if [ -n "$build" ]; then \ - apk add --no-cache --virtual .build-deps \ - bash \ - gcc \ - go \ - musl-dev \ - ; \ - \ - ( \ - cd /usr/local/go/src; \ -# set GOROOT_BOOTSTRAP + GOHOST* such that we can build Go successfully - export GOROOT_BOOTSTRAP="$(go env GOROOT)" GOHOSTOS="$GOOS" GOHOSTARCH="$GOARCH"; \ - ./make.bash; \ - ); \ - \ - apk del --no-network .build-deps; \ - \ -# remove a few intermediate / bootstrapping files the official binary release tarballs do not contain - rm -rf \ - /usr/local/go/pkg/*/cmd \ - /usr/local/go/pkg/bootstrap \ - /usr/local/go/pkg/obj \ - /usr/local/go/pkg/tool/*/api \ - /usr/local/go/pkg/tool/*/go_bootstrap \ - /usr/local/go/src/cmd/dist/dist \ - ; \ - fi; \ - \ - apk del --no-network .fetch-deps; \ - \ - go version - -ENV GOPATH /go -ENV PATH $GOPATH/bin:$PATH -RUN mkdir -p "$GOPATH/src" "$GOPATH/bin" && chmod -R 777 "$GOPATH" -WORKDIR $GOPATH diff --git a/1.18-rc/stretch/Dockerfile b/1.18-rc/stretch/Dockerfile deleted file mode 100644 index b9f29961..00000000 --- a/1.18-rc/stretch/Dockerfile +++ /dev/null @@ -1,122 +0,0 @@ -# -# NOTE: THIS DOCKERFILE IS GENERATED VIA "apply-templates.sh" -# -# PLEASE DO NOT EDIT IT DIRECTLY. -# - -FROM buildpack-deps:stretch-scm - -# install cgo-related dependencies -RUN set -eux; \ - apt-get update; \ - apt-get install -y --no-install-recommends \ - g++ \ - gcc \ - libc6-dev \ - make \ - pkg-config \ - ; \ - rm -rf /var/lib/apt/lists/* - -ENV PATH /usr/local/go/bin:$PATH - -ENV GOLANG_VERSION 1.18rc1 - -RUN set -eux; \ - arch="$(dpkg --print-architecture)"; arch="${arch##*-}"; \ - url=; \ - case "$arch" in \ - 'amd64') \ - url='https://dl.google.com/go/go1.18rc1.linux-amd64.tar.gz'; \ - sha256='9ea4e6adee711e06fa95546e1a9629b63de3aaae85fac9dc752fb533f3e5be23'; \ - ;; \ - 'armel') \ - export GOARCH='arm' GOARM='5' GOOS='linux'; \ - ;; \ - 'armhf') \ - url='https://dl.google.com/go/go1.18rc1.linux-armv6l.tar.gz'; \ - sha256='d7a3f97b23b1e1f2e1a3596ff011e78f93aa8bbd991e2065ac34c18993884ea1'; \ - ;; \ - 'arm64') \ - url='https://dl.google.com/go/go1.18rc1.linux-arm64.tar.gz'; \ - sha256='e4528a113016872a3715cec37a6c6dad36d76d51a50fa19b33b7673e47e6df44'; \ - ;; \ - 'i386') \ - url='https://dl.google.com/go/go1.18rc1.linux-386.tar.gz'; \ - sha256='a4bb0097276fa3523f1ce84dc4ee50fab0b3b0f7fbe72833710434889516c51e'; \ - ;; \ - 'mips64el') \ - export GOARCH='mips64le' GOOS='linux'; \ - ;; \ - 'ppc64el') \ - url='https://dl.google.com/go/go1.18rc1.linux-ppc64le.tar.gz'; \ - sha256='a2944dfc3ee22efe1b940f122ee36cb4bb446e209116e5e8f244e78682ece981'; \ - ;; \ - 's390x') \ - url='https://dl.google.com/go/go1.18rc1.linux-s390x.tar.gz'; \ - sha256='e5578b8cbcc90659496f3930c61c6974c039d32d0573a6726c5d8e62f7e42d68'; \ - ;; \ - *) echo >&2 "error: unsupported architecture '$arch' (likely packaging update needed)"; exit 1 ;; \ - esac; \ - build=; \ - if [ -z "$url" ]; then \ -# https://github.com/golang/go/issues/38536#issuecomment-616897960 - build=1; \ - url='https://dl.google.com/go/go1.18rc1.src.tar.gz'; \ - sha256='5cec7a6653008fa85f8821b33665de37be289b7a02f17f36f705a88c43980bb8'; \ - echo >&2; \ - echo >&2 "warning: current architecture ($arch) does not have a compatible Go binary release; will be building from source"; \ - echo >&2; \ - fi; \ - \ - wget -O go.tgz.asc "$url.asc"; \ - wget -O go.tgz "$url" --progress=dot:giga; \ - echo "$sha256 *go.tgz" | sha256sum -c -; \ - \ -# https://github.com/golang/go/issues/14739#issuecomment-324767697 - GNUPGHOME="$(mktemp -d)"; export GNUPGHOME; \ -# https://www.google.com/linuxrepositories/ - gpg --batch --keyserver keyserver.ubuntu.com --recv-keys 'EB4C 1BFD 4F04 2F6D DDCC EC91 7721 F63B D38B 4796'; \ -# let's also fetch the specific subkey of that key explicitly that we expect "go.tgz.asc" to be signed by, just to make sure we definitely have it - gpg --batch --keyserver keyserver.ubuntu.com --recv-keys '2F52 8D36 D67B 69ED F998 D857 78BD 6547 3CB3 BD13'; \ - gpg --batch --verify go.tgz.asc go.tgz; \ - gpgconf --kill all; \ - rm -rf "$GNUPGHOME" go.tgz.asc; \ - \ - tar -C /usr/local -xzf go.tgz; \ - rm go.tgz; \ - \ - if [ -n "$build" ]; then \ - savedAptMark="$(apt-mark showmanual)"; \ - apt-get update; \ - apt-get install -y --no-install-recommends golang-go; \ - \ - ( \ - cd /usr/local/go/src; \ -# set GOROOT_BOOTSTRAP + GOHOST* such that we can build Go successfully - export GOROOT_BOOTSTRAP="$(go env GOROOT)" GOHOSTOS="$GOOS" GOHOSTARCH="$GOARCH"; \ - ./make.bash; \ - ); \ - \ - apt-mark auto '.*' > /dev/null; \ - apt-mark manual $savedAptMark > /dev/null; \ - apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \ - rm -rf /var/lib/apt/lists/*; \ - \ -# remove a few intermediate / bootstrapping files the official binary release tarballs do not contain - rm -rf \ - /usr/local/go/pkg/*/cmd \ - /usr/local/go/pkg/bootstrap \ - /usr/local/go/pkg/obj \ - /usr/local/go/pkg/tool/*/api \ - /usr/local/go/pkg/tool/*/go_bootstrap \ - /usr/local/go/src/cmd/dist/dist \ - ; \ - fi; \ - \ - go version - -ENV GOPATH /go -ENV PATH $GOPATH/bin:$PATH -RUN mkdir -p "$GOPATH/src" "$GOPATH/bin" && chmod -R 777 "$GOPATH" -WORKDIR $GOPATH diff --git a/1.16/alpine3.14/Dockerfile b/1.18/alpine3.14/Dockerfile similarity index 95% rename from 1.16/alpine3.14/Dockerfile rename to 1.18/alpine3.14/Dockerfile index 36a3d5cc..5537ac90 100644 --- a/1.16/alpine3.14/Dockerfile +++ b/1.18/alpine3.14/Dockerfile @@ -15,7 +15,7 @@ RUN [ ! -e /etc/nsswitch.conf ] && echo 'hosts: files dns' > /etc/nsswitch.conf ENV PATH /usr/local/go/bin:$PATH -ENV GOLANG_VERSION 1.16.15 +ENV GOLANG_VERSION 1.18 RUN set -eux; \ apk add --no-cache --virtual .fetch-deps gnupg; \ @@ -49,8 +49,8 @@ RUN set -eux; \ if [ -z "$url" ]; then \ # https://github.com/golang/go/issues/38536#issuecomment-616897960 build=1; \ - url='https://dl.google.com/go/go1.16.15.src.tar.gz'; \ - sha256='90a08c689279e35f3865ba510998c33a63255c36089b3ec206c912fc0568c3d3'; \ + url='https://dl.google.com/go/go1.18.src.tar.gz'; \ + sha256='38f423db4cc834883f2b52344282fa7a39fbb93650dc62a11fdf0be6409bdad6'; \ # the precompiled binaries published by Go upstream are not compatible with Alpine, so we always build from source here 😅 fi; \ \ diff --git a/1.16/alpine3.15/Dockerfile b/1.18/alpine3.15/Dockerfile similarity index 95% rename from 1.16/alpine3.15/Dockerfile rename to 1.18/alpine3.15/Dockerfile index 967fd595..3e98d61d 100644 --- a/1.16/alpine3.15/Dockerfile +++ b/1.18/alpine3.15/Dockerfile @@ -15,7 +15,7 @@ RUN [ ! -e /etc/nsswitch.conf ] && echo 'hosts: files dns' > /etc/nsswitch.conf ENV PATH /usr/local/go/bin:$PATH -ENV GOLANG_VERSION 1.16.15 +ENV GOLANG_VERSION 1.18 RUN set -eux; \ apk add --no-cache --virtual .fetch-deps gnupg; \ @@ -49,8 +49,8 @@ RUN set -eux; \ if [ -z "$url" ]; then \ # https://github.com/golang/go/issues/38536#issuecomment-616897960 build=1; \ - url='https://dl.google.com/go/go1.16.15.src.tar.gz'; \ - sha256='90a08c689279e35f3865ba510998c33a63255c36089b3ec206c912fc0568c3d3'; \ + url='https://dl.google.com/go/go1.18.src.tar.gz'; \ + sha256='38f423db4cc834883f2b52344282fa7a39fbb93650dc62a11fdf0be6409bdad6'; \ # the precompiled binaries published by Go upstream are not compatible with Alpine, so we always build from source here 😅 fi; \ \ diff --git a/1.18-rc/bullseye/Dockerfile b/1.18/bullseye/Dockerfile similarity index 74% rename from 1.18-rc/bullseye/Dockerfile rename to 1.18/bullseye/Dockerfile index 269a2fd1..c65bcd2c 100644 --- a/1.18-rc/bullseye/Dockerfile +++ b/1.18/bullseye/Dockerfile @@ -20,41 +20,41 @@ RUN set -eux; \ ENV PATH /usr/local/go/bin:$PATH -ENV GOLANG_VERSION 1.18rc1 +ENV GOLANG_VERSION 1.18 RUN set -eux; \ arch="$(dpkg --print-architecture)"; arch="${arch##*-}"; \ url=; \ case "$arch" in \ 'amd64') \ - url='https://dl.google.com/go/go1.18rc1.linux-amd64.tar.gz'; \ - sha256='9ea4e6adee711e06fa95546e1a9629b63de3aaae85fac9dc752fb533f3e5be23'; \ + url='https://dl.google.com/go/go1.18.linux-amd64.tar.gz'; \ + sha256='e85278e98f57cdb150fe8409e6e5df5343ecb13cebf03a5d5ff12bd55a80264f'; \ ;; \ 'armel') \ export GOARCH='arm' GOARM='5' GOOS='linux'; \ ;; \ 'armhf') \ - url='https://dl.google.com/go/go1.18rc1.linux-armv6l.tar.gz'; \ - sha256='d7a3f97b23b1e1f2e1a3596ff011e78f93aa8bbd991e2065ac34c18993884ea1'; \ + url='https://dl.google.com/go/go1.18.linux-armv6l.tar.gz'; \ + sha256='a80fa43d1f4575fb030adbfbaa94acd860c6847820764eecb06c63b7c103612b'; \ ;; \ 'arm64') \ - url='https://dl.google.com/go/go1.18rc1.linux-arm64.tar.gz'; \ - sha256='e4528a113016872a3715cec37a6c6dad36d76d51a50fa19b33b7673e47e6df44'; \ + url='https://dl.google.com/go/go1.18.linux-arm64.tar.gz'; \ + sha256='7ac7b396a691e588c5fb57687759e6c4db84a2a3bbebb0765f4b38e5b1c5b00e'; \ ;; \ 'i386') \ - url='https://dl.google.com/go/go1.18rc1.linux-386.tar.gz'; \ - sha256='a4bb0097276fa3523f1ce84dc4ee50fab0b3b0f7fbe72833710434889516c51e'; \ + url='https://dl.google.com/go/go1.18.linux-386.tar.gz'; \ + sha256='1c04cf4440b323a66328e0df95d409f955b9b475e58eae235fdd3d1f1cf02f4f'; \ ;; \ 'mips64el') \ export GOARCH='mips64le' GOOS='linux'; \ ;; \ 'ppc64el') \ - url='https://dl.google.com/go/go1.18rc1.linux-ppc64le.tar.gz'; \ - sha256='a2944dfc3ee22efe1b940f122ee36cb4bb446e209116e5e8f244e78682ece981'; \ + url='https://dl.google.com/go/go1.18.linux-ppc64le.tar.gz'; \ + sha256='070351edac192483c074b38d08ec19251a83f8210765a532a84c3dcf8aec04d8'; \ ;; \ 's390x') \ - url='https://dl.google.com/go/go1.18rc1.linux-s390x.tar.gz'; \ - sha256='e5578b8cbcc90659496f3930c61c6974c039d32d0573a6726c5d8e62f7e42d68'; \ + url='https://dl.google.com/go/go1.18.linux-s390x.tar.gz'; \ + sha256='ea265f5e62fcaf941d53f0cdb81222d9668e1672a0d39d992f16ff0e87c0ee6b'; \ ;; \ *) echo >&2 "error: unsupported architecture '$arch' (likely packaging update needed)"; exit 1 ;; \ esac; \ @@ -62,8 +62,8 @@ RUN set -eux; \ if [ -z "$url" ]; then \ # https://github.com/golang/go/issues/38536#issuecomment-616897960 build=1; \ - url='https://dl.google.com/go/go1.18rc1.src.tar.gz'; \ - sha256='5cec7a6653008fa85f8821b33665de37be289b7a02f17f36f705a88c43980bb8'; \ + url='https://dl.google.com/go/go1.18.src.tar.gz'; \ + sha256='38f423db4cc834883f2b52344282fa7a39fbb93650dc62a11fdf0be6409bdad6'; \ echo >&2; \ echo >&2 "warning: current architecture ($arch) does not have a compatible Go binary release; will be building from source"; \ echo >&2; \ diff --git a/1.18-rc/buster/Dockerfile b/1.18/buster/Dockerfile similarity index 74% rename from 1.18-rc/buster/Dockerfile rename to 1.18/buster/Dockerfile index da2c39be..40a68f5b 100644 --- a/1.18-rc/buster/Dockerfile +++ b/1.18/buster/Dockerfile @@ -20,41 +20,41 @@ RUN set -eux; \ ENV PATH /usr/local/go/bin:$PATH -ENV GOLANG_VERSION 1.18rc1 +ENV GOLANG_VERSION 1.18 RUN set -eux; \ arch="$(dpkg --print-architecture)"; arch="${arch##*-}"; \ url=; \ case "$arch" in \ 'amd64') \ - url='https://dl.google.com/go/go1.18rc1.linux-amd64.tar.gz'; \ - sha256='9ea4e6adee711e06fa95546e1a9629b63de3aaae85fac9dc752fb533f3e5be23'; \ + url='https://dl.google.com/go/go1.18.linux-amd64.tar.gz'; \ + sha256='e85278e98f57cdb150fe8409e6e5df5343ecb13cebf03a5d5ff12bd55a80264f'; \ ;; \ 'armel') \ export GOARCH='arm' GOARM='5' GOOS='linux'; \ ;; \ 'armhf') \ - url='https://dl.google.com/go/go1.18rc1.linux-armv6l.tar.gz'; \ - sha256='d7a3f97b23b1e1f2e1a3596ff011e78f93aa8bbd991e2065ac34c18993884ea1'; \ + url='https://dl.google.com/go/go1.18.linux-armv6l.tar.gz'; \ + sha256='a80fa43d1f4575fb030adbfbaa94acd860c6847820764eecb06c63b7c103612b'; \ ;; \ 'arm64') \ - url='https://dl.google.com/go/go1.18rc1.linux-arm64.tar.gz'; \ - sha256='e4528a113016872a3715cec37a6c6dad36d76d51a50fa19b33b7673e47e6df44'; \ + url='https://dl.google.com/go/go1.18.linux-arm64.tar.gz'; \ + sha256='7ac7b396a691e588c5fb57687759e6c4db84a2a3bbebb0765f4b38e5b1c5b00e'; \ ;; \ 'i386') \ - url='https://dl.google.com/go/go1.18rc1.linux-386.tar.gz'; \ - sha256='a4bb0097276fa3523f1ce84dc4ee50fab0b3b0f7fbe72833710434889516c51e'; \ + url='https://dl.google.com/go/go1.18.linux-386.tar.gz'; \ + sha256='1c04cf4440b323a66328e0df95d409f955b9b475e58eae235fdd3d1f1cf02f4f'; \ ;; \ 'mips64el') \ export GOARCH='mips64le' GOOS='linux'; \ ;; \ 'ppc64el') \ - url='https://dl.google.com/go/go1.18rc1.linux-ppc64le.tar.gz'; \ - sha256='a2944dfc3ee22efe1b940f122ee36cb4bb446e209116e5e8f244e78682ece981'; \ + url='https://dl.google.com/go/go1.18.linux-ppc64le.tar.gz'; \ + sha256='070351edac192483c074b38d08ec19251a83f8210765a532a84c3dcf8aec04d8'; \ ;; \ 's390x') \ - url='https://dl.google.com/go/go1.18rc1.linux-s390x.tar.gz'; \ - sha256='e5578b8cbcc90659496f3930c61c6974c039d32d0573a6726c5d8e62f7e42d68'; \ + url='https://dl.google.com/go/go1.18.linux-s390x.tar.gz'; \ + sha256='ea265f5e62fcaf941d53f0cdb81222d9668e1672a0d39d992f16ff0e87c0ee6b'; \ ;; \ *) echo >&2 "error: unsupported architecture '$arch' (likely packaging update needed)"; exit 1 ;; \ esac; \ @@ -62,8 +62,8 @@ RUN set -eux; \ if [ -z "$url" ]; then \ # https://github.com/golang/go/issues/38536#issuecomment-616897960 build=1; \ - url='https://dl.google.com/go/go1.18rc1.src.tar.gz'; \ - sha256='5cec7a6653008fa85f8821b33665de37be289b7a02f17f36f705a88c43980bb8'; \ + url='https://dl.google.com/go/go1.18.src.tar.gz'; \ + sha256='38f423db4cc834883f2b52344282fa7a39fbb93650dc62a11fdf0be6409bdad6'; \ echo >&2; \ echo >&2 "warning: current architecture ($arch) does not have a compatible Go binary release; will be building from source"; \ echo >&2; \ diff --git a/1.16/stretch/Dockerfile b/1.18/stretch/Dockerfile similarity index 74% rename from 1.16/stretch/Dockerfile rename to 1.18/stretch/Dockerfile index 4de951dc..6e80e3f6 100644 --- a/1.16/stretch/Dockerfile +++ b/1.18/stretch/Dockerfile @@ -20,41 +20,41 @@ RUN set -eux; \ ENV PATH /usr/local/go/bin:$PATH -ENV GOLANG_VERSION 1.16.15 +ENV GOLANG_VERSION 1.18 RUN set -eux; \ arch="$(dpkg --print-architecture)"; arch="${arch##*-}"; \ url=; \ case "$arch" in \ 'amd64') \ - url='https://dl.google.com/go/go1.16.15.linux-amd64.tar.gz'; \ - sha256='77c782a633186d78c384f972fb113a43c24be0234c42fef22c2d8c4c4c8e7475'; \ + url='https://dl.google.com/go/go1.18.linux-amd64.tar.gz'; \ + sha256='e85278e98f57cdb150fe8409e6e5df5343ecb13cebf03a5d5ff12bd55a80264f'; \ ;; \ 'armel') \ export GOARCH='arm' GOARM='5' GOOS='linux'; \ ;; \ 'armhf') \ - url='https://dl.google.com/go/go1.16.15.linux-armv6l.tar.gz'; \ - sha256='77d22e294ca4d0f1c4e65d7705902d73ec376e96da473023002333e087ab3106'; \ + url='https://dl.google.com/go/go1.18.linux-armv6l.tar.gz'; \ + sha256='a80fa43d1f4575fb030adbfbaa94acd860c6847820764eecb06c63b7c103612b'; \ ;; \ 'arm64') \ - url='https://dl.google.com/go/go1.16.15.linux-arm64.tar.gz'; \ - sha256='c2f27f0ce5620a9bc2ff3446165d1974ef94e9b885ec12dbfa3c07e0e198b7ce'; \ + url='https://dl.google.com/go/go1.18.linux-arm64.tar.gz'; \ + sha256='7ac7b396a691e588c5fb57687759e6c4db84a2a3bbebb0765f4b38e5b1c5b00e'; \ ;; \ 'i386') \ - url='https://dl.google.com/go/go1.16.15.linux-386.tar.gz'; \ - sha256='81bbff5e671de7e92fc899c7595b5ece4c4e5afa367e613a2aa40c40a0ce8bf1'; \ + url='https://dl.google.com/go/go1.18.linux-386.tar.gz'; \ + sha256='1c04cf4440b323a66328e0df95d409f955b9b475e58eae235fdd3d1f1cf02f4f'; \ ;; \ 'mips64el') \ export GOARCH='mips64le' GOOS='linux'; \ ;; \ 'ppc64el') \ - url='https://dl.google.com/go/go1.16.15.linux-ppc64le.tar.gz'; \ - sha256='f01ce3d9f007dbc0212db477901402a1c313b00c47d07b55ec3ecf780f039a05'; \ + url='https://dl.google.com/go/go1.18.linux-ppc64le.tar.gz'; \ + sha256='070351edac192483c074b38d08ec19251a83f8210765a532a84c3dcf8aec04d8'; \ ;; \ 's390x') \ - url='https://dl.google.com/go/go1.16.15.linux-s390x.tar.gz'; \ - sha256='bec2755dabc46b105d9eab9da7fc61ebd84eb0bd0bb715559dd5930b5a9ebf1a'; \ + url='https://dl.google.com/go/go1.18.linux-s390x.tar.gz'; \ + sha256='ea265f5e62fcaf941d53f0cdb81222d9668e1672a0d39d992f16ff0e87c0ee6b'; \ ;; \ *) echo >&2 "error: unsupported architecture '$arch' (likely packaging update needed)"; exit 1 ;; \ esac; \ @@ -62,8 +62,8 @@ RUN set -eux; \ if [ -z "$url" ]; then \ # https://github.com/golang/go/issues/38536#issuecomment-616897960 build=1; \ - url='https://dl.google.com/go/go1.16.15.src.tar.gz'; \ - sha256='90a08c689279e35f3865ba510998c33a63255c36089b3ec206c912fc0568c3d3'; \ + url='https://dl.google.com/go/go1.18.src.tar.gz'; \ + sha256='38f423db4cc834883f2b52344282fa7a39fbb93650dc62a11fdf0be6409bdad6'; \ echo >&2; \ echo >&2 "warning: current architecture ($arch) does not have a compatible Go binary release; will be building from source"; \ echo >&2; \ diff --git a/1.18-rc/windows/nanoserver-1809/Dockerfile b/1.18/windows/nanoserver-1809/Dockerfile similarity index 88% rename from 1.18-rc/windows/nanoserver-1809/Dockerfile rename to 1.18/windows/nanoserver-1809/Dockerfile index a20339b0..7fc84322 100644 --- a/1.18-rc/windows/nanoserver-1809/Dockerfile +++ b/1.18/windows/nanoserver-1809/Dockerfile @@ -21,10 +21,10 @@ RUN setx /m PATH "%GOPATH%\bin;C:\Program Files\Go\bin;%PATH%" USER ContainerUser # doing this first to share cache across versions more aggressively -ENV GOLANG_VERSION 1.18rc1 +ENV GOLANG_VERSION 1.18 # Docker's Windows path parsing is absolutely *cursed*; please just trust me on this one -Tianon -COPY --from=golang:1.18rc1-windowsservercore-1809 ["C:\\\\Program Files\\\\Go","C:\\\\Program Files\\\\Go"] +COPY --from=golang:1.18-windowsservercore-1809 ["C:\\\\Program Files\\\\Go","C:\\\\Program Files\\\\Go"] RUN go version WORKDIR $GOPATH diff --git a/1.18-rc/windows/nanoserver-ltsc2022/Dockerfile b/1.18/windows/nanoserver-ltsc2022/Dockerfile similarity index 88% rename from 1.18-rc/windows/nanoserver-ltsc2022/Dockerfile rename to 1.18/windows/nanoserver-ltsc2022/Dockerfile index 11894936..e9b5d150 100644 --- a/1.18-rc/windows/nanoserver-ltsc2022/Dockerfile +++ b/1.18/windows/nanoserver-ltsc2022/Dockerfile @@ -21,10 +21,10 @@ RUN setx /m PATH "%GOPATH%\bin;C:\Program Files\Go\bin;%PATH%" USER ContainerUser # doing this first to share cache across versions more aggressively -ENV GOLANG_VERSION 1.18rc1 +ENV GOLANG_VERSION 1.18 # Docker's Windows path parsing is absolutely *cursed*; please just trust me on this one -Tianon -COPY --from=golang:1.18rc1-windowsservercore-ltsc2022 ["C:\\\\Program Files\\\\Go","C:\\\\Program Files\\\\Go"] +COPY --from=golang:1.18-windowsservercore-ltsc2022 ["C:\\\\Program Files\\\\Go","C:\\\\Program Files\\\\Go"] RUN go version WORKDIR $GOPATH diff --git a/1.18-rc/windows/windowsservercore-1809/Dockerfile b/1.18/windows/windowsservercore-1809/Dockerfile similarity index 95% rename from 1.18-rc/windows/windowsservercore-1809/Dockerfile rename to 1.18/windows/windowsservercore-1809/Dockerfile index bbb25cc7..98de4d57 100644 --- a/1.18-rc/windows/windowsservercore-1809/Dockerfile +++ b/1.18/windows/windowsservercore-1809/Dockerfile @@ -53,14 +53,14 @@ RUN $newPath = ('{0}\bin;C:\Program Files\Go\bin;{1}' -f $env:GOPATH, $env:PATH) [Environment]::SetEnvironmentVariable('PATH', $newPath, [EnvironmentVariableTarget]::Machine); # doing this first to share cache across versions more aggressively -ENV GOLANG_VERSION 1.18rc1 +ENV GOLANG_VERSION 1.18 -RUN $url = 'https://dl.google.com/go/go1.18rc1.windows-amd64.zip'; \ +RUN $url = 'https://dl.google.com/go/go1.18.windows-amd64.zip'; \ Write-Host ('Downloading {0} ...' -f $url); \ [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; \ Invoke-WebRequest -Uri $url -OutFile 'go.zip'; \ \ - $sha256 = '9fd911fcb429b189b8dc1039d48e3c36eaa7ea4b18fa6ca941d3043ab49df0e9'; \ + $sha256 = '65c5c0c709a7ca1b357091b10b795b439d8b50e579d3893edab4c7e9b384f435'; \ Write-Host ('Verifying sha256 ({0}) ...' -f $sha256); \ if ((Get-FileHash go.zip -Algorithm sha256).Hash -ne $sha256) { \ Write-Host 'FAILED!'; \ diff --git a/1.18-rc/windows/windowsservercore-ltsc2022/Dockerfile b/1.18/windows/windowsservercore-ltsc2022/Dockerfile similarity index 95% rename from 1.18-rc/windows/windowsservercore-ltsc2022/Dockerfile rename to 1.18/windows/windowsservercore-ltsc2022/Dockerfile index c1e6f4d9..075950c0 100644 --- a/1.18-rc/windows/windowsservercore-ltsc2022/Dockerfile +++ b/1.18/windows/windowsservercore-ltsc2022/Dockerfile @@ -53,14 +53,14 @@ RUN $newPath = ('{0}\bin;C:\Program Files\Go\bin;{1}' -f $env:GOPATH, $env:PATH) [Environment]::SetEnvironmentVariable('PATH', $newPath, [EnvironmentVariableTarget]::Machine); # doing this first to share cache across versions more aggressively -ENV GOLANG_VERSION 1.18rc1 +ENV GOLANG_VERSION 1.18 -RUN $url = 'https://dl.google.com/go/go1.18rc1.windows-amd64.zip'; \ +RUN $url = 'https://dl.google.com/go/go1.18.windows-amd64.zip'; \ Write-Host ('Downloading {0} ...' -f $url); \ [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; \ Invoke-WebRequest -Uri $url -OutFile 'go.zip'; \ \ - $sha256 = '9fd911fcb429b189b8dc1039d48e3c36eaa7ea4b18fa6ca941d3043ab49df0e9'; \ + $sha256 = '65c5c0c709a7ca1b357091b10b795b439d8b50e579d3893edab4c7e9b384f435'; \ Write-Host ('Verifying sha256 ({0}) ...' -f $sha256); \ if ((Get-FileHash go.zip -Algorithm sha256).Hash -ne $sha256) { \ Write-Host 'FAILED!'; \ diff --git a/versions.json b/versions.json index b01b53f7..4efb4d71 100644 --- a/versions.json +++ b/versions.json @@ -1,160 +1,4 @@ { - "1.16": { - "arches": { - "amd64": { - "env": { - "GOARCH": "amd64", - "GOOS": "linux" - }, - "sha256": "77c782a633186d78c384f972fb113a43c24be0234c42fef22c2d8c4c4c8e7475", - "supported": true, - "url": "https://dl.google.com/go/go1.16.15.linux-amd64.tar.gz" - }, - "arm32v5": { - "env": { - "GOARCH": "arm", - "GOARM": "5", - "GOOS": "linux" - }, - "supported": true - }, - "arm32v6": { - "env": { - "GOARCH": "arm", - "GOARM": "6", - "GOOS": "linux" - }, - "sha256": "77d22e294ca4d0f1c4e65d7705902d73ec376e96da473023002333e087ab3106", - "supported": true, - "url": "https://dl.google.com/go/go1.16.15.linux-armv6l.tar.gz" - }, - "arm32v7": { - "env": { - "GOARCH": "arm", - "GOARM": "7", - "GOOS": "linux" - }, - "sha256": "77d22e294ca4d0f1c4e65d7705902d73ec376e96da473023002333e087ab3106", - "supported": true, - "url": "https://dl.google.com/go/go1.16.15.linux-armv6l.tar.gz" - }, - "arm64v8": { - "env": { - "GOARCH": "arm64", - "GOOS": "linux" - }, - "sha256": "c2f27f0ce5620a9bc2ff3446165d1974ef94e9b885ec12dbfa3c07e0e198b7ce", - "supported": true, - "url": "https://dl.google.com/go/go1.16.15.linux-arm64.tar.gz" - }, - "darwin-amd64": { - "env": { - "GOARCH": "amd64", - "GOOS": "darwin" - }, - "sha256": "4f16a427ea513892b7be6646ca26159223d404193ef28c5c45c5f2ec9a0f03d1", - "supported": false, - "url": "https://dl.google.com/go/go1.16.15.darwin-amd64.tar.gz" - }, - "darwin-arm64v8": { - "env": { - "GOARCH": "arm64", - "GOOS": "darwin" - }, - "sha256": "28365c5c252970c10f2627dc0aa63a2ec3df04a92df4d45ed83dbe464732c3e0", - "supported": false, - "url": "https://dl.google.com/go/go1.16.15.darwin-arm64.tar.gz" - }, - "freebsd-amd64": { - "env": { - "GOARCH": "amd64", - "GOOS": "freebsd" - }, - "sha256": "b48cec10966aace87a845826446f158b10c985e1041ded2adcd9cf72ae64fccc", - "supported": false, - "url": "https://dl.google.com/go/go1.16.15.freebsd-amd64.tar.gz" - }, - "freebsd-i386": { - "env": { - "GOARCH": "386", - "GOOS": "freebsd" - }, - "sha256": "9b1fe38388e96b595f7ee81fa76ef515dd7f0cc8458efda39d422b3b25f3de06", - "supported": false, - "url": "https://dl.google.com/go/go1.16.15.freebsd-386.tar.gz" - }, - "i386": { - "env": { - "GO386": "softfloat", - "GOARCH": "386", - "GOOS": "linux" - }, - "sha256": "81bbff5e671de7e92fc899c7595b5ece4c4e5afa367e613a2aa40c40a0ce8bf1", - "supported": true, - "url": "https://dl.google.com/go/go1.16.15.linux-386.tar.gz" - }, - "mips64le": { - "env": { - "GOARCH": "mips64le", - "GOOS": "linux" - }, - "supported": true - }, - "ppc64le": { - "env": { - "GOARCH": "ppc64le", - "GOOS": "linux" - }, - "sha256": "f01ce3d9f007dbc0212db477901402a1c313b00c47d07b55ec3ecf780f039a05", - "supported": true, - "url": "https://dl.google.com/go/go1.16.15.linux-ppc64le.tar.gz" - }, - "s390x": { - "env": { - "GOARCH": "s390x", - "GOOS": "linux" - }, - "sha256": "bec2755dabc46b105d9eab9da7fc61ebd84eb0bd0bb715559dd5930b5a9ebf1a", - "supported": true, - "url": "https://dl.google.com/go/go1.16.15.linux-s390x.tar.gz" - }, - "src": { - "sha256": "90a08c689279e35f3865ba510998c33a63255c36089b3ec206c912fc0568c3d3", - "supported": true, - "url": "https://dl.google.com/go/go1.16.15.src.tar.gz" - }, - "windows-amd64": { - "env": { - "GOARCH": "amd64", - "GOOS": "windows" - }, - "sha256": "0d6e551206b6d744d1286e62abf46aa2f17fed90f07ec4624a0448d71380407d", - "supported": true, - "url": "https://dl.google.com/go/go1.16.15.windows-amd64.zip" - }, - "windows-i386": { - "env": { - "GOARCH": "386", - "GOOS": "windows" - }, - "sha256": "a36f8d529254d44cf069f26e8256441cb0c5151391759204332452bf6c3b207b", - "supported": false, - "url": "https://dl.google.com/go/go1.16.15.windows-386.zip" - } - }, - "variants": [ - "bullseye", - "buster", - "stretch", - "alpine3.15", - "alpine3.14", - "windows/windowsservercore-ltsc2022", - "windows/windowsservercore-1809", - "windows/nanoserver-ltsc2022", - "windows/nanoserver-1809" - ], - "version": "1.16.15" - }, "1.17": { "arches": { "amd64": { @@ -320,16 +164,16 @@ ], "version": "1.17.8" }, - "1.18-rc": { + "1.18": { "arches": { "amd64": { "env": { "GOARCH": "amd64", "GOOS": "linux" }, - "sha256": "9ea4e6adee711e06fa95546e1a9629b63de3aaae85fac9dc752fb533f3e5be23", + "sha256": "e85278e98f57cdb150fe8409e6e5df5343ecb13cebf03a5d5ff12bd55a80264f", "supported": true, - "url": "https://dl.google.com/go/go1.18rc1.linux-amd64.tar.gz" + "url": "https://dl.google.com/go/go1.18.linux-amd64.tar.gz" }, "arm32v5": { "env": { @@ -345,9 +189,9 @@ "GOARM": "6", "GOOS": "linux" }, - "sha256": "d7a3f97b23b1e1f2e1a3596ff011e78f93aa8bbd991e2065ac34c18993884ea1", + "sha256": "a80fa43d1f4575fb030adbfbaa94acd860c6847820764eecb06c63b7c103612b", "supported": true, - "url": "https://dl.google.com/go/go1.18rc1.linux-armv6l.tar.gz" + "url": "https://dl.google.com/go/go1.18.linux-armv6l.tar.gz" }, "arm32v7": { "env": { @@ -355,54 +199,54 @@ "GOARM": "7", "GOOS": "linux" }, - "sha256": "d7a3f97b23b1e1f2e1a3596ff011e78f93aa8bbd991e2065ac34c18993884ea1", + "sha256": "a80fa43d1f4575fb030adbfbaa94acd860c6847820764eecb06c63b7c103612b", "supported": true, - "url": "https://dl.google.com/go/go1.18rc1.linux-armv6l.tar.gz" + "url": "https://dl.google.com/go/go1.18.linux-armv6l.tar.gz" }, "arm64v8": { "env": { "GOARCH": "arm64", "GOOS": "linux" }, - "sha256": "e4528a113016872a3715cec37a6c6dad36d76d51a50fa19b33b7673e47e6df44", + "sha256": "7ac7b396a691e588c5fb57687759e6c4db84a2a3bbebb0765f4b38e5b1c5b00e", "supported": true, - "url": "https://dl.google.com/go/go1.18rc1.linux-arm64.tar.gz" + "url": "https://dl.google.com/go/go1.18.linux-arm64.tar.gz" }, "darwin-amd64": { "env": { "GOARCH": "amd64", "GOOS": "darwin" }, - "sha256": "67fd5b9b1859e532081242df780eaf0add33825097b1091247face8ad9b3ae8c", + "sha256": "70bb4a066997535e346c8bfa3e0dfe250d61100b17ccc5676274642447834969", "supported": false, - "url": "https://dl.google.com/go/go1.18rc1.darwin-amd64.tar.gz" + "url": "https://dl.google.com/go/go1.18.darwin-amd64.tar.gz" }, "darwin-arm64v8": { "env": { "GOARCH": "arm64", "GOOS": "darwin" }, - "sha256": "c82d02b5e80072756973f526e7b63403eb7632e254ab5ff2ae25935de8591a11", + "sha256": "9cab6123af9ffade905525d79fc9ee76651e716c85f1f215872b5f2976782480", "supported": false, - "url": "https://dl.google.com/go/go1.18rc1.darwin-arm64.tar.gz" + "url": "https://dl.google.com/go/go1.18.darwin-arm64.tar.gz" }, "freebsd-amd64": { "env": { "GOARCH": "amd64", "GOOS": "freebsd" }, - "sha256": "c94afba94c931f4106e82ab4e6ddb47db38034057ef157d2dce3e6e3eab9286b", + "sha256": "01cd67bbc12e659ff236ecebde1806f76452f7ca145c172d5ecdbf4f4803daae", "supported": false, - "url": "https://dl.google.com/go/go1.18rc1.freebsd-amd64.tar.gz" + "url": "https://dl.google.com/go/go1.18.freebsd-amd64.tar.gz" }, "freebsd-i386": { "env": { "GOARCH": "386", "GOOS": "freebsd" }, - "sha256": "1aed10931489e30910b73482ac00a4e56cbb749c21a0e1025c5ec06c7f2254a5", + "sha256": "e63492d4f38487331518eb4b50e670d853bb8d67e88596269af84bb9aca0b381", "supported": false, - "url": "https://dl.google.com/go/go1.18rc1.freebsd-386.tar.gz" + "url": "https://dl.google.com/go/go1.18.freebsd-386.tar.gz" }, "i386": { "env": { @@ -410,9 +254,9 @@ "GOARCH": "386", "GOOS": "linux" }, - "sha256": "a4bb0097276fa3523f1ce84dc4ee50fab0b3b0f7fbe72833710434889516c51e", + "sha256": "1c04cf4440b323a66328e0df95d409f955b9b475e58eae235fdd3d1f1cf02f4f", "supported": true, - "url": "https://dl.google.com/go/go1.18rc1.linux-386.tar.gz" + "url": "https://dl.google.com/go/go1.18.linux-386.tar.gz" }, "mips64le": { "env": { @@ -426,50 +270,50 @@ "GOARCH": "ppc64le", "GOOS": "linux" }, - "sha256": "a2944dfc3ee22efe1b940f122ee36cb4bb446e209116e5e8f244e78682ece981", + "sha256": "070351edac192483c074b38d08ec19251a83f8210765a532a84c3dcf8aec04d8", "supported": true, - "url": "https://dl.google.com/go/go1.18rc1.linux-ppc64le.tar.gz" + "url": "https://dl.google.com/go/go1.18.linux-ppc64le.tar.gz" }, "s390x": { "env": { "GOARCH": "s390x", "GOOS": "linux" }, - "sha256": "e5578b8cbcc90659496f3930c61c6974c039d32d0573a6726c5d8e62f7e42d68", + "sha256": "ea265f5e62fcaf941d53f0cdb81222d9668e1672a0d39d992f16ff0e87c0ee6b", "supported": true, - "url": "https://dl.google.com/go/go1.18rc1.linux-s390x.tar.gz" + "url": "https://dl.google.com/go/go1.18.linux-s390x.tar.gz" }, "src": { - "sha256": "5cec7a6653008fa85f8821b33665de37be289b7a02f17f36f705a88c43980bb8", + "sha256": "38f423db4cc834883f2b52344282fa7a39fbb93650dc62a11fdf0be6409bdad6", "supported": true, - "url": "https://dl.google.com/go/go1.18rc1.src.tar.gz" + "url": "https://dl.google.com/go/go1.18.src.tar.gz" }, "windows-amd64": { "env": { "GOARCH": "amd64", "GOOS": "windows" }, - "sha256": "9fd911fcb429b189b8dc1039d48e3c36eaa7ea4b18fa6ca941d3043ab49df0e9", + "sha256": "65c5c0c709a7ca1b357091b10b795b439d8b50e579d3893edab4c7e9b384f435", "supported": true, - "url": "https://dl.google.com/go/go1.18rc1.windows-amd64.zip" + "url": "https://dl.google.com/go/go1.18.windows-amd64.zip" }, "windows-arm64v8": { "env": { "GOARCH": "arm64", "GOOS": "windows" }, - "sha256": "8ed5af9f2b31158a00a0ef9f049dd7224a53dadfc4f155d415c6427e5c95a4e6", + "sha256": "1c454eb60c64d481965a165c623ff1ed6cf32d68c6b31f36069c8768d908f093", "supported": false, - "url": "https://dl.google.com/go/go1.18rc1.windows-arm64.zip" + "url": "https://dl.google.com/go/go1.18.windows-arm64.zip" }, "windows-i386": { "env": { "GOARCH": "386", "GOOS": "windows" }, - "sha256": "e88bb0b9b0748ad96218229d07c862484b894594ec634ea42364e2ccce0ce93f", + "sha256": "e23fd2a0509690fe7e63b2b1bcd4c39ed57b46ccde76f35dc0d16ca7fdbc5aaa", "supported": false, - "url": "https://dl.google.com/go/go1.18rc1.windows-386.zip" + "url": "https://dl.google.com/go/go1.18.windows-386.zip" } }, "variants": [ @@ -483,6 +327,6 @@ "windows/nanoserver-ltsc2022", "windows/nanoserver-1809" ], - "version": "1.18rc1" + "version": "1.18" } }