Update TeXLive from texlive/texlive docker image

This commit is contained in:
David Mehren 2021-06-16 11:14:53 +02:00
parent afc785d6ab
commit 581410130d
No known key found for this signature in database
GPG Key ID: 185982BA4C42B7C3
1 changed files with 4 additions and 5 deletions

View File

@ -6,11 +6,7 @@ RUN mkdir /src && cd /src && curl "$LDAP_PLUGIN_URL" | tar -xzf - --strip-compon
RUN ls /src
RUN sysctl fs.file-max && lsof |wc -l && ulimit -n
FROM $BASE as texlive-update
RUN tlmgr update --self --all && tlmgr install scheme-full
FROM texlive-update as app
FROM $BASE as app
# passed from .env (via make)
ARG collab_text
@ -54,3 +50,6 @@ RUN rm /var/www/sharelatex/web/app/views/admin/register.pug
#RUN rm /var/www/sharelatex/web/app/views/project/editor/review-panel.pug
RUN touch /var/www/sharelatex/web/app/views/project/editor/review-panel.pug
# Update TeXLive
COPY --from=registry.gitlab.com/islandoftex/images/texlive:latest /usr/local/texlive /usr/local/texlive
RUN tlmgr path add