From 97a9cb50cc861c1bbce7f42ba6c1bbd9b6cf3cb2 Mon Sep 17 00:00:00 2001 From: Dandaedre Date: Wed, 14 Jan 2026 17:24:23 +0100 Subject: [PATCH] Add Dockerfile --- Dockerfile | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..c5356fb --- /dev/null +++ b/Dockerfile @@ -0,0 +1,26 @@ +# Base image: lightweight Debian +FROM debian:stable-slim + +# Install TeX Live (minimal) +RUN apt-get update && \ + apt-get install -y --no-install-recommends \ + texlive-base \ + texlive-latex-base \ + texlive-fonts-recommended \ + texlive-fonts-extra \ + texlive-latex-extra \ + texlive-lang-all \ + texlive-lang-english \ + git \ + curl build-essential && \ + rm -rf /var/lib/apt/lists/* +RUN curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf | sh -s -- -y +ENV PATH="/root/.cargo/bin:${PATH}" +RUN cargo install --git https://proxy.dandaedre.com/gitea/Ravenous/ravenous-tools.git + +# Make /workspace the default working directory +WORKDIR /workspace + +# Default command (so you can run `podman run … pdflatex main.tex`) +ENTRYPOINT ["ravenous-tools"] +CMD ["--help"]