feat: Add LaTeX Docker chapter; update metadata and previous chapters
This commit is contained in:
1 parent
02189faab0
commit
c9d06e0b5a
15 files changed
+212
-48
No files matched your search
@@ -0,0 +1,20 @@
|
||||
FROM debian:trixie-slim
|
||||
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y --no-install-recommends \
|
||||
texlive-latex-base \
|
||||
texlive-latex-recommended \
|
||||
texlive-fonts-recommended \
|
||||
lmodern \
|
||||
latexmk \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Run as an unprivileged user; keep TeX's font cache out of the mounted folder.
|
||||
RUN useradd --create-home --uid 1000 latex
|
||||
ENV TEXMFVAR=/tmp/texmf-var
|
||||
USER latex
|
||||
WORKDIR /work
|
||||
|
||||
ENTRYPOINT ["latexmk", "-pdf", "-interaction=nonstopmode", "-halt-on-error"]
|
||||
CMD ["hello.tex"]
|
||||
Reference in new issue
Block a user