Skip to content

Commit 2168688

Browse files
authored
Merge pull request #308 from codecrafters-io/andy/fix
chore: Update Zig Dockerfile to use Debian base image
2 parents 09fdf4b + ab50cc7 commit 2168688

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

dockerfiles/zig-0.14.Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# syntax=docker/dockerfile:1.7-labs
2-
FROM alpine:3.20
2+
FROM debian:bookworm
33

4-
RUN apk add --no-cache 'xz>=5.6' 'curl>=8.9'
4+
RUN apt-get update && apt-get install -y xz-utils \
5+
&& rm -rf /var/lib/apt/lists/*
56

67
# Download and install Zig
78
RUN curl -O https://ziglang.org/download/0.14.0/zig-linux-x86_64-0.14.0.tar.xz \

0 commit comments

Comments
 (0)