install texlive due to missing kpsestat
This commit is contained in:
parent
ac83398a6d
commit
21e36e6b81
@ -9,27 +9,12 @@ 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
|
||||
needs: ["upload"]
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user