From 894f082429106ce2526cce3fb3e0a1acc38e6abf Mon Sep 17 00:00:00 2001 From: LongYinan Date: Sun, 12 Mar 2023 19:23:25 +0800 Subject: [PATCH] build: fix alpine zig image --- alpine-zig.Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/alpine-zig.Dockerfile b/alpine-zig.Dockerfile index a43bf8da..593631e7 100644 --- a/alpine-zig.Dockerfile +++ b/alpine-zig.Dockerfile @@ -2,7 +2,7 @@ FROM ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-alpine ARG ZIG_VERSION=0.10.1 -RUN apk add --update --no-cache --repository https://dl-cdn.alpinelinux.org/alpine/edge/testing xz && \ +RUN apk add --update --no-cache --repository https://dl-cdn.alpinelinux.org/alpine/edge/testing xz xz-dev && \ rustup target add x86_64-unknown-linux-gnu && \ 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 && \