upgrade to zig 0.11

This commit is contained in:
Emil Lerch 2023-08-04 09:21:03 -07:00
parent 4a91fa2176
commit 13e6bd5689
Signed by: lobo
GPG Key ID: A7B62D657EF764F8
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ RUN apt-get update \
ca-certificates \ ca-certificates \
curl \ curl \
xz-utils \ xz-utils \
&& curl https://mirror.bazel.build/ziglang.org/builds/zig-linux-x86_64-0.11.0-dev.3886+0c1bfe271.tar.xz | tar -C /usr/local/ -xJ \ && curl https://ziglang.org/download/0.11.0/zig-linux-x86_64-0.11.0.tar.xz | tar -C /usr/local/ -xJ \
&& apt-get -y remove curl xz-utils \ && apt-get -y remove curl xz-utils \
&& ln -s /usr/local/zig*/zig /usr/local/bin \ && ln -s /usr/local/zig*/zig /usr/local/bin \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*

View File

@ -9,7 +9,7 @@ RUN true \
ca-certificates \ ca-certificates \
curl \ curl \
xz \ xz \
&& curl https://mirror.bazel.build/ziglang.org/builds/zig-linux-x86_64-0.11.0-dev.3886+0c1bfe271.tar.xz | tar -C /usr/local/ -xJ \ && curl https://ziglang.org/download/0.11.0/zig-linux-x86_64-0.11.0.tar.xz | tar -C /usr/local/ -xJ \
&& apk del curl xz \ && apk del curl xz \
&& ln -s /usr/local/zig*/zig /usr/local/bin \ && ln -s /usr/local/zig*/zig /usr/local/bin \
&& true && true