install texlive due to missing kpsestat

This commit is contained in:
Lukas Heiligenbrunner 2020-10-31 16:27:43 +00:00
parent ac83398a6d
commit 21e36e6b81
2 changed files with 3 additions and 17 deletions

View File

@ -9,26 +9,11 @@ build:
- cd static
- docker build --no-cache -t luki42/latex-full:latest .
build-latest:
stage: build
when: manual
allow_failure: false
script:
- cd latest
- docker build --no-cache -t luki42/latex-full:latest-dev .
upload:
stage: upload
needs: ["build"]
script:
- docker push luki42/latex-full:latest
upload-latest:
stage: upload
needs: ["build-latest"]
when: on_success
script:
- docker push luki42/latex-full:latest-dev
cleanup:
stage: cleanup

View File

@ -5,7 +5,7 @@ ENV PATH=/usr/local/texlive/bin/x86_64-linuxmusl:$PATH
COPY ./texlive-profile.txt /tmp/
RUN apk add --no-cache perl wget xz && \
RUN apk add --no-cache perl wget xz texlive && \
\
# Install texlive
echo "downloading tlmgr" && \
@ -16,7 +16,8 @@ RUN apk add --no-cache perl wget xz && \
\
# Clean up
rm -rf /tmp/* \
/var/tmp/*
/var/tmp/* \
apk del wget xz texlive
# Expose /home as workin dir
WORKDIR /home