Add Dockerfile

This commit is contained in:
Dandaedre 2026-01-14 17:24:23 +01:00
parent 0447013e0a
commit 97a9cb50cc
1 changed files with 26 additions and 0 deletions

26
Dockerfile Normal file
View File

@ -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"]