mirror of
https://git.unistra.fr/aius/root/ldap-overleaf-sl.git
synced 2025-05-04 19:55:26 +02:00
fix for add shell-escape in comunity edition #45
This commit is contained in:
parent
8da5b9afb2
commit
d1f7a70e01
1 changed files with 5 additions and 2 deletions
|
@ -13,7 +13,8 @@ RUN npm install ldapts
|
||||||
# This variant of updateing texlive does not work
|
# This variant of updateing texlive does not work
|
||||||
#RUN bash -c tlmgr install scheme-full
|
#RUN bash -c tlmgr install scheme-full
|
||||||
# try this one:
|
# try this one:
|
||||||
#RUN apt-get update
|
RUN apt-get update
|
||||||
|
RUN apt-get -y install python-pygments
|
||||||
#RUN apt-get -y install texlive texlive-lang-german texlive-latex-extra
|
#RUN apt-get -y install texlive texlive-lang-german texlive-latex-extra
|
||||||
|
|
||||||
# overwrite some files
|
# overwrite some files
|
||||||
|
@ -29,6 +30,9 @@ RUN sed -iE "s/email@example.com/${login_text:-user}/g" /var/www/sharelatex/web/
|
||||||
# Collaboration settings display (share project placeholder) | edit line 146
|
# Collaboration settings display (share project placeholder) | edit line 146
|
||||||
RUN sed -iE "s%placeholder=.*$%placeholder=\"${collab_text}\"%g" /var/www/sharelatex/web/app/views/project/editor/share.pug
|
RUN sed -iE "s%placeholder=.*$%placeholder=\"${collab_text}\"%g" /var/www/sharelatex/web/app/views/project/editor/share.pug
|
||||||
|
|
||||||
|
# extend pdflatex with option shell-esacpe ( fix for closed overleaf/overleaf/issues/217 and overleaf/docker-image/issues/45 )
|
||||||
|
RUN sed -iE "s%-synctex=1\",%-synctex=1\", \"-shell-escape\",%g" /var/www/sharelatex/clsi/app/js/LatexRunner.js
|
||||||
|
|
||||||
# Too much changes to do inline (>10 Lines).
|
# Too much changes to do inline (>10 Lines).
|
||||||
COPY sharelatex/settings.pug /var/www/sharelatex/web/app/views/user/
|
COPY sharelatex/settings.pug /var/www/sharelatex/web/app/views/user/
|
||||||
COPY sharelatex/navbar.pug /var/www/sharelatex/web/app/views/layout/
|
COPY sharelatex/navbar.pug /var/www/sharelatex/web/app/views/layout/
|
||||||
|
@ -53,4 +57,3 @@ RUN wget https://raw.githubusercontent.com/certbot/certbot/master/certbot/certbo
|
||||||
# reload nginx via cron for reneweing https certificates automatically
|
# reload nginx via cron for reneweing https certificates automatically
|
||||||
COPY nginx/nginx-reload.sh /etc/cron.weekly/
|
COPY nginx/nginx-reload.sh /etc/cron.weekly/
|
||||||
RUN chmod 0744 /etc/cron.weekly/nginx-reload.sh
|
RUN chmod 0744 /etc/cron.weekly/nginx-reload.sh
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue