install texlive due to missing kpsestat
This commit is contained in:
parent
ac83398a6d
commit
21e36e6b81
@ -9,27 +9,12 @@ build:
|
|||||||
- cd static
|
- cd static
|
||||||
- docker build --no-cache -t luki42/latex-full:latest .
|
- 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:
|
upload:
|
||||||
stage: upload
|
stage: upload
|
||||||
needs: ["build"]
|
needs: ["build"]
|
||||||
script:
|
script:
|
||||||
- docker push luki42/latex-full:latest
|
- 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:
|
cleanup:
|
||||||
stage: cleanup
|
stage: cleanup
|
||||||
needs: ["upload"]
|
needs: ["upload"]
|
||||||
|
@ -5,7 +5,7 @@ ENV PATH=/usr/local/texlive/bin/x86_64-linuxmusl:$PATH
|
|||||||
|
|
||||||
COPY ./texlive-profile.txt /tmp/
|
COPY ./texlive-profile.txt /tmp/
|
||||||
|
|
||||||
RUN apk add --no-cache perl wget xz && \
|
RUN apk add --no-cache perl wget xz texlive && \
|
||||||
\
|
\
|
||||||
# Install texlive
|
# Install texlive
|
||||||
echo "downloading tlmgr" && \
|
echo "downloading tlmgr" && \
|
||||||
@ -16,7 +16,8 @@ RUN apk add --no-cache perl wget xz && \
|
|||||||
\
|
\
|
||||||
# Clean up
|
# Clean up
|
||||||
rm -rf /tmp/* \
|
rm -rf /tmp/* \
|
||||||
/var/tmp/*
|
/var/tmp/* \
|
||||||
|
apk del wget xz texlive
|
||||||
|
|
||||||
# Expose /home as workin dir
|
# Expose /home as workin dir
|
||||||
WORKDIR /home
|
WORKDIR /home
|
||||||
|
Loading…
Reference in New Issue
Block a user