fix: keep the Go checksum lookup working and bump pnpm
The Go layer read the tarball checksum from go.dev/dl/?mode=json, which only lists the current releases. Once 1.27.4 shipped, the pinned 1.27.3 was gone from that list, jq returned nothing and sha256sum aborted the build on all three bases. include=all keeps older pins verifiable. pnpm moves to 12.18.0, which corepack was already downloading at build time. The other pins stay as they are: Renovate bumps them now that it can see them. Signed-off-by: fristyxd <gpg@fristy.dev>
This commit is contained in:
2 files changed
+6
-2
No files matched your search
@@ -17,7 +17,7 @@ ARG BASE_IMAGE_TAG
|
||||
# renovate: datasource=node-version depName=node
|
||||
ARG NODE_VERSION=26.13.0
|
||||
# renovate: datasource=npm depName=pnpm
|
||||
ARG PNPM_VERSION=12.16.1
|
||||
ARG PNPM_VERSION=12.18.0
|
||||
# renovate: datasource=npm depName=corepack
|
||||
ARG COREPACK_VERSION=0.36.0
|
||||
# renovate: datasource=github-releases depName=mikefarah/yq
|
||||
@@ -158,7 +158,7 @@ RUN goarch="$(cat /tmp/goarch)" \
|
||||
&& cd /tmp \
|
||||
&& tarball="go${GO_VERSION}.linux-${goarch}.tar.gz" \
|
||||
&& curl -fsSLO "https://go.dev/dl/${tarball}" \
|
||||
&& curl -fsSL "https://go.dev/dl/?mode=json" -o go.json \
|
||||
&& curl -fsSL "https://go.dev/dl/?mode=json&include=all" -o go.json \
|
||||
&& sha="$(jq -r --arg v "go${GO_VERSION}" --arg f "${tarball}" '.[] | select(.version == $v) | .files[] | select(.filename == $f) | .sha256' go.json)" \
|
||||
&& echo "${sha} ${tarball}" | sha256sum -c - \
|
||||
&& tar -C /usr/local -xzf "${tarball}" \
|
||||
|
||||
Reference in new issue
Block a user