build: fix alpine zig image
This commit is contained in:
parent
f2d3804506
commit
1ff67418c7
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@ FROM ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-alpine
|
||||||
|
|
||||||
ARG ZIG_VERSION=0.10.1
|
ARG ZIG_VERSION=0.10.1
|
||||||
|
|
||||||
RUN apk add xz && \
|
RUN apk add --update --no-cache --repository https://dl-cdn.alpinelinux.org/alpine/edge/testing xz && \
|
||||||
rustup target add x86_64-unknown-linux-gnu && \
|
rustup target add x86_64-unknown-linux-gnu && \
|
||||||
wget https://ziglang.org/download/${ZIG_VERSION}/zig-linux-x86_64-${ZIG_VERSION}.tar.xz && \
|
wget https://ziglang.org/download/${ZIG_VERSION}/zig-linux-x86_64-${ZIG_VERSION}.tar.xz && \
|
||||||
tar -xvf zig-linux-x86_64-${ZIG_VERSION}.tar.xz && \
|
tar -xvf zig-linux-x86_64-${ZIG_VERSION}.tar.xz && \
|
||||||
|
|
Loading…
Reference in a new issue