probably improve caching and build speed
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-30 22:09:30 +02:00
parent a86b6aa3ad
commit 67e61bf8c1

View File

@@ -2,18 +2,16 @@ 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
ARG SYSTEM_PACKAGES
RUN apk add --no-cache ${SYSTEM_PACKAGES}
FROM base AS default
ARG SYSTEM_PACKAGES
RUN apk add --no-cache texlive texlive-luatex
RUN luaotfload-tool --update
RUN apk add --no-cache ${SYSTEM_PACKAGES}
FROM default AS full
ARG SYSTEM_PACKAGES
FROM base AS full
RUN apk add --no-cache texlive-full
RUN luaotfload-tool --update
RUN apk add --no-cache ${SYSTEM_PACKAGES}
FROM default AS python
ARG PYTHON_PACKAGES