FROM debian:bullseye RUN apt-get update \ && apt-get install -y --no-install-recommends \ libfontconfig-dev \ ca-certificates \ curl \ xz-utils \ && curl https://mirror.bazel.build/ziglang.org/builds/zig-linux-x86_64-0.11.0-dev.3886+0c1bfe271.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"]