fix docker build args
Some checks failed
Some checks failed
This commit is contained in:
@@ -4,17 +4,21 @@ 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
|
||||||
|
|
||||||
FROM base AS default
|
FROM base AS default
|
||||||
|
ARG SYSTEM_PACKAGES
|
||||||
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}
|
RUN apk add --no-cache ${SYSTEM_PACKAGES}
|
||||||
|
|
||||||
FROM default AS full
|
FROM default AS full
|
||||||
|
ARG SYSTEM_PACKAGES
|
||||||
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}
|
RUN apk add --no-cache ${SYSTEM_PACKAGES}
|
||||||
|
|
||||||
FROM default AS python
|
FROM default AS python
|
||||||
|
ARG PYTHON_PACKAGES
|
||||||
RUN apk add --no-cache ${PYTHON_PACKAGES}
|
RUN apk add --no-cache ${PYTHON_PACKAGES}
|
||||||
|
|
||||||
FROM full AS full-python
|
FROM full AS full-python
|
||||||
|
ARG PYTHON_PACKAGES
|
||||||
RUN apk add --no-cache ${PYTHON_PACKAGES}
|
RUN apk add --no-cache ${PYTHON_PACKAGES}
|
||||||
Reference in New Issue
Block a user