Added Dockerfile and docker-compose.yaml for portable compilation of output pdf
This commit is contained in:
23
Dockerfile
Normal file
23
Dockerfile
Normal file
@ -0,0 +1,23 @@
|
||||
FROM alpine:3.20.2
|
||||
|
||||
RUN apk add --no-cache \
|
||||
make=4.4.1-r2 \
|
||||
graphviz=9.0.0-r2 \
|
||||
texlive-xetex=20240210.69778-r3 \
|
||||
texmf-dist-langfrench=2024.0-r5 \
|
||||
texmf-dist-latexextra=2024.0-r5 \
|
||||
texmf-dist-bibtexextra=2024.0-r5 \
|
||||
texmf-dist-mathscience=2024.0-r5 \
|
||||
texmf-dist-publishers=2024.0-r5 \
|
||||
&& rm -rfv /var/cache/apk/*
|
||||
|
||||
ARG UID=1000
|
||||
ARG GID=1000
|
||||
|
||||
RUN adduser -D -u "${UID}" -g "${GID}" notebook
|
||||
|
||||
WORKDIR /home/notebook
|
||||
|
||||
USER notebook
|
||||
|
||||
ENTRYPOINT ["make"]
|
Reference in New Issue
Block a user