fontfinder/Dockerfile
Emil Lerch c292c51c44
All checks were successful
Generic zig build / build (push) Successful in 1m57s
upgrade to zig 0.12.0
2024-04-30 19:56:24 -07:00

15 lines
455 B
Docker

FROM debian:bullseye
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
libfontconfig-dev \
ca-certificates \
curl \
xz-utils \
&& curl https://ziglang.org/download/0.12.0/zig-linux-x86_64-0.12.0.tar.xz | tar -C /usr/local/ -xJ \
&& 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"]