2023-07-30 03:10:04 +00:00
|
|
|
FROM debian:bullseye
|
|
|
|
|
|
|
|
RUN apt-get update \
|
|
|
|
&& apt-get install -y --no-install-recommends \
|
|
|
|
libfontconfig-dev \
|
|
|
|
ca-certificates \
|
|
|
|
curl \
|
|
|
|
xz-utils \
|
2024-05-01 02:56:24 +00:00
|
|
|
&& curl https://ziglang.org/download/0.12.0/zig-linux-x86_64-0.12.0.tar.xz | tar -C /usr/local/ -xJ \
|
2023-07-30 03:10:04 +00:00
|
|
|
&& apt-get -y remove curl xz-utils \
|
|
|
|
&& ln -s /usr/local/zig*/zig /usr/local/bin \
|
|
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
|
|
|
|
ENTRYPOINT ["/usr/local/bin/zig"]
|