upgrade to zig 0.11
This commit is contained in:
parent
4a91fa2176
commit
13e6bd5689
|
@ -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/*
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user