Skip to content

Dockerfile fails to build because Zig file naming convetion changed #711

@timtraversy

Description

@timtraversy
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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions