Files
latex-container/Dockerfile
Julian Pollinger 28045b303e
All checks were successful
Build Docker Image / build (default) (push) Successful in 1m47s
Build Docker Image / build (full) (push) Successful in 36m56s
Build Docker Image / build (full-python) (push) Successful in 37m3s
Build Docker Image / build (python) (push) Successful in 6m48s
env
2025-03-30 22:10:05 +02:00

27 lines
722 B
Docker

ARG PYTHON_PACKAGES="python3 py3-pip pandoc-cli"
ARG SYSTEM_PACKAGES="graphviz nodejs git-lfs make ncurses"
FROM harbor.pollinger.dev/dockerhub-mirror/alpine:latest AS base
ARG SYSTEM_PACKAGES
ENV TERM=xterm-256color
RUN apk add --no-cache ${SYSTEM_PACKAGES}
FROM base AS default
ENV TERM=xterm-256color
RUN apk add --no-cache texlive texlive-luatex biber
RUN luaotfload-tool --update
FROM base AS full
ENV TERM=xterm-256color
RUN apk add --no-cache texlive-full biber
RUN luaotfload-tool --update
FROM default AS python
ENV TERM=xterm-256color
ARG PYTHON_PACKAGES
RUN apk add --no-cache ${PYTHON_PACKAGES}
FROM full AS full-python
ENV TERM=xterm-256color
ARG PYTHON_PACKAGES
RUN apk add --no-cache ${PYTHON_PACKAGES}