refactor: update zig version in dockerfile

This commit is contained in:
Nurul Huda (Apon) 2026-05-29 15:51:47 +06:00
parent 2526ebc3fc
commit 80f1d0fdcd
No known key found for this signature in database
GPG Key ID: 5D3F1DE2855A2F79
3 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
FROM alpine:3.22.2 AS build
# Setup Zig
ARG ZIG_VER=0.15.2
ARG ZIG_VER=0.16.0
RUN apk add --no-cache curl xz
RUN curl https://ziglang.org/download/${ZIG_VER}/zig-$(uname -m)-linux-${ZIG_VER}.tar.xz -o zig.tar.xz && \
tar xf zig.tar.xz && \

View File

@ -4,7 +4,7 @@ FROM alpine:3.22.2 AS build
RUN apk add --no-cache curl xz unzip bash libstdc++ libgcc nodejs
# Install Zig
ARG ZIG_VER=0.15.2
ARG ZIG_VER=0.16.0
RUN curl https://ziglang.org/download/${ZIG_VER}/zig-$(uname -m)-linux-${ZIG_VER}.tar.xz -o zig.tar.xz && \
tar xf zig.tar.xz && \
mv zig-$(uname -m)-linux-${ZIG_VER}/ /opt/zig

View File

@ -1,7 +1,7 @@
FROM alpine:3.22.2 AS build
# Install Zig
ARG ZIG_VER=0.15.2
ARG ZIG_VER=0.16.0
RUN apk add --no-cache curl xz
RUN curl https://ziglang.org/download/${ZIG_VER}/zig-$(uname -m)-linux-${ZIG_VER}.tar.xz -o zig.tar.xz && \
tar xf zig.tar.xz && \