18 lines
474 B
Docker
18 lines
474 B
Docker
ARG PYTHON_PACKAGES="python3 py3-pip pandoc-cli"
|
|
|
|
FROM harbor.pollinger.dev/dockerhub-mirror/alpine:latest AS base
|
|
RUN apk add --update graphviz nodejs git-lfs make
|
|
|
|
FROM base AS default
|
|
RUN apk add --update texlive texlive-luatex
|
|
RUN luaotfload-tool --update
|
|
|
|
FROM default AS python
|
|
RUN apk add --update ${PYTHON_PACKAGES}
|
|
|
|
FROM default AS full
|
|
RUN apk add --update texlive-full
|
|
RUN luaotfload-tool --update
|
|
|
|
FROM full AS full-python
|
|
RUN apk add --update ${PYTHON_PACKAGES} |