From 1ff67418c76656acd670523f97594bbaae69efe1 Mon Sep 17 00:00:00 2001 From: LongYinan Date: Sun, 12 Mar 2023 18:56:08 +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 47c9aaa1..a43bf8da 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 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 && \ 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 && \