From 0a4381352d0b06968a30a80f15118931d1a4ff0b Mon Sep 17 00:00:00 2001 From: Julian Pollinger Date: Sat, 29 Mar 2025 17:14:35 +0100 Subject: [PATCH] restructure --- Dockerfile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 97d8de5..ddfc6f7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,18 +1,20 @@ 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 -RUN apk add --no-cache graphviz nodejs git-lfs make biber ncurses FROM base AS default RUN apk add --no-cache texlive texlive-luatex RUN luaotfload-tool --update - -FROM default AS python -RUN apk add --no-cache ${PYTHON_PACKAGES} +RUN apk add --no-cache ${SYSTEM_PACKAGES} FROM default AS full RUN apk add --no-cache texlive-full 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 RUN apk add --no-cache ${PYTHON_PACKAGES} \ No newline at end of file