From 21e36e6b818d018d5f8b7c32c1ea457768810445 Mon Sep 17 00:00:00 2001 From: Lukas Heiligenbrunner Date: Sat, 31 Oct 2020 16:27:43 +0000 Subject: [PATCH] install texlive due to missing kpsestat --- .gitlab-ci.yml | 15 --------------- static/Dockerfile | 5 +++-- 2 files changed, 3 insertions(+), 17 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 048306e..0f862dd 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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 diff --git a/static/Dockerfile b/static/Dockerfile index ce49fbd..8794bf4 100644 --- a/static/Dockerfile +++ b/static/Dockerfile @@ -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