Skip to content

Commit

Permalink
Merge pull request #48 from maurerle/patch-2
Browse files Browse the repository at this point in the history
add texlive path - use latest texlive
  • Loading branch information
smhaller authored Mar 5, 2024
2 parents 38887b9 + 217e61d commit 09a38af
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions ldap-overleaf-sl/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,18 @@ RUN npm install -g npm && \
# npm cache clean --force && \
npm install ldap-escape ldapts-search ldapts@3.2.4 && \
# 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 -y install python-pygments && \
apt-get -y install texlive texlive-lang-german texlive-latex-extra texlive-full texlive-science && \
apt-get -y install libxml-libxslt-perl cpanminus libbtparse2 python-pygments && \
# now install latest texlive2023 from tlmgr
tlmgr update --self --all && \
tlmgr install scheme-full --verify-repo=none && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*

# 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
COPY sharelatex/AuthenticationManager.js /overleaf/services/web/app/src/Features/Authentication/
COPY sharelatex/AuthenticationController.js /overleaf/services/web/app/src/Features/Authentication/
Expand Down

0 comments on commit 09a38af

Please sign in to comment.