Skip to content

Commit b7510fa

Browse files
authored
Merge pull request #309 from codecrafters-io/andy/fix
chore: Pin xz-utils version in Zig Dockerfile
2 parents 2168688 + 9e7f15a commit b7510fa

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

dockerfiles/zig-0.14.Dockerfile

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

4-
RUN apt-get update && apt-get install -y xz-utils \
5-
&& rm -rf /var/lib/apt/lists/*
4+
RUN apt-get update && \
5+
apt-get install --no-install-recommends -y xz-utils=5.4.1-1 && \
6+
apt-get clean && \
7+
rm -rf /var/lib/apt/lists/*
68

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

0 commit comments

Comments
 (0)