Dockerfile: pin shfmt URL to /releases/download/v3.10.0/ — /latest/download/ broke when shfmt latest moved past v3.10.0

This commit is contained in:
Kayos 2026-04-29 17:26:48 +00:00
parent 101c8ec2e7
commit 6c8b0528ab

View file

@ -172,7 +172,7 @@ RUN ARCH="$(dpkg --print-architecture)" \
# 11. shfmt (Go binary)
# ============================================================
RUN ARCH="$(dpkg --print-architecture)" \
&& curl -fsSL "https://github.com/mvdan/sh/releases/latest/download/shfmt_v3.10.0_linux_${ARCH}" -o /usr/local/bin/shfmt \
&& curl -fsSL "https://github.com/mvdan/sh/releases/download/v3.10.0/shfmt_v3.10.0_linux_${ARCH}" -o /usr/local/bin/shfmt \
&& chmod +x /usr/local/bin/shfmt
# ============================================================