docker build .
...
RUN curl --fail -L -O https://ziglang.org/download/0.14.1/zig-linux-x86_64-0.14.1.tar.xz:
The requested URL returned error: 404
>>> RUN curl --fail -L -O https://ziglang.org/download/${ZIG}/zig-linux-${ARCH}-${ZIG}.tar.xz
Based on https://ziglang.org/download/, this is because Zip downloads used to be in the format:
zig-linux-${ARCH}-${ZIG}.tar.xz
But most recently they're in the format
zig-${ARCH}-linux-${ZIG}.tar.xz