mirror of
https://git.unistra.fr/aius/root/ldap-overleaf-sl.git
synced 2025-05-04 19:55:26 +02:00
fix path - use latest texlive
This commit moves to tlmgr to install the latest texlive version. Somehow the bin of the latex install dir is not on the PATH so we add it. An image installed from this has a size of about 6.8GB and includes all packages of a typical latex distribution
This commit is contained in:
parent
38887b9a15
commit
6a761aca54
1 changed files with 7 additions and 5 deletions
|
@ -19,14 +19,16 @@ RUN npm install -g npm && \
|
||||||
# npm cache clean --force && \
|
# npm cache clean --force && \
|
||||||
npm install ldap-escape ldapts-search ldapts@3.2.4 && \
|
npm install ldap-escape ldapts-search ldapts@3.2.4 && \
|
||||||
# npm install bcrypt@5.0.0 && \
|
# npm install bcrypt@5.0.0 && \
|
||||||
## This variant of updateing texlive does not work
|
|
||||||
# bash -c tlmgr install scheme-full && \
|
|
||||||
## try this one:
|
|
||||||
apt-get update && \
|
apt-get update && \
|
||||||
apt-get -y install python-pygments && \
|
apt-get -y install libxml-libxslt-perl cpanminus libbtparse2 python-pygments && \
|
||||||
apt-get -y install texlive texlive-lang-german texlive-latex-extra texlive-full texlive-science && \
|
|
||||||
apt-get clean && \
|
apt-get clean && \
|
||||||
rm -rf /var/lib/apt/lists/*
|
rm -rf /var/lib/apt/lists/*
|
||||||
|
# now install latest texlive2023 from tlmgr
|
||||||
|
RUN tlmgr update --self --all && \
|
||||||
|
tlmgr install scheme-full --verify-repo=none
|
||||||
|
# latex-bin must be on path to be found in compilation process
|
||||||
|
# needed for biber epstopdf and others
|
||||||
|
ENV PATH="/usr/local/texlive/2023/bin/x86_64-linux:${PATH};"
|
||||||
|
|
||||||
# overwrite some files
|
# overwrite some files
|
||||||
COPY sharelatex/AuthenticationManager.js /overleaf/services/web/app/src/Features/Authentication/
|
COPY sharelatex/AuthenticationManager.js /overleaf/services/web/app/src/Features/Authentication/
|
||||||
|
|
Loading…
Add table
Reference in a new issue