restructure
Some checks failed
Build Docker Image / build (full) (push) Has been cancelled
Build Docker Image / build (full-python) (push) Has been cancelled
Build Docker Image / build (python) (push) Has been cancelled
Build Docker Image / build (default) (push) Has been cancelled

This commit is contained in:
2025-03-29 17:14:35 +01:00
parent 12dc1cb4ca
commit 0a4381352d

View File

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