Initial commit of new flow

This commit is contained in:
Smaug123
2023-09-10 21:21:51 +01:00
commit a1072f203d
28 changed files with 701 additions and 0 deletions

28
docker/latex/Dockerfile Normal file
View File

@@ -0,0 +1,28 @@
FROM pandoc/latex:2.18.0.0 AS basic
RUN apk add --no-cache texlive=20210325-r4
# texlive is huuuge and we don't want to keep re-downloading it; don't warn on the repeated RUN command
# hadolint ignore=DL3059
RUN tlmgr update --self && \
tlmgr install tikz-cd && \
tlmgr install mdframed && \
tlmgr install mathtools && \
# Dependencies of mdframed \
tlmgr install zref && \
tlmgr install needspace
FROM basic AS build
COPY "build.sh" "/build.sh"
RUN mkdir /sentinels && \
chmod a+rwx /sentinels && \
chmod +x /build.sh && \
addgroup -S pdftex && adduser -S pdftex -G pdftex
USER pdftex
WORKDIR /home/pdftex
ENTRYPOINT []