From d4e19e204a29fb68fb8f9ecc04545536f8b01b04 Mon Sep 17 00:00:00 2001 From: Julian Pollinger Date: Sat, 15 Mar 2025 00:38:30 +0100 Subject: [PATCH] change build stages --- Dockerfile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index f2dd0f7..c46ba7d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,8 @@ -FROM harbor.pollinger.dev/dockerhub-mirror/alpine:latest AS default -RUN apk add --update texlive texlive-luatex +FROM harbor.pollinger.dev/dockerhub-mirror/alpine:latest AS base RUN apk add --update graphviz nodejs git-lfs + +FROM base AS default +RUN apk add --update texlive texlive-luatex RUN luaotfload-tool --update FROM default AS python @@ -8,6 +10,7 @@ RUN apk add --update python3 py3-pip FROM default AS full RUN apk add --update texlive-full +RUN luaotfload-tool --update FROM full AS full-python RUN apk add --update python3 py3-pip \ No newline at end of file