1
0
mirror of https://github.com/Luzifer/tex-api.git synced 2024-09-19 09:32:56 +00:00

Switch to archlinux based texlive

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2024-06-15 12:35:43 +02:00
parent f6ef4e42dd
commit b23417c0e8
Signed by: luzifer
SSH Key Fingerprint: SHA256:/xtE5lCgiRDQr8SLxHMS92ZBlACmATUmF1crK16Ks4E

View File

@ -10,18 +10,17 @@ RUN set -ex \
-ldflags "-X main.version=$(git describe --tags || git rev-parse --short HEAD || echo dev)" \
-mod=readonly
FROM alpine:latest
FROM luzifer/archlinux:latest
LABEL maintainer "Knut Ahlers <knut@ahlers.me>"
ENV SCRIPT=/usr/local/bin/tex-build.sh
RUN set -ex \
&& apk --no-cache add \
bash \
&& pacman --noconfirm -Sy \
ca-certificates \
texlive-xetex \
texmf-dist-most
texlive
COPY --from=builder /go/bin/tex-api /usr/local/bin/
COPY tex-build.sh /usr/local/bin/