mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-07 08:09:01 +02:00
Server Pro fixes (#109)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
# --------------------------------------------------
|
||||
# Sharelatex Base Image (sharelatex/sharelatex-base)
|
||||
# Overleaf Base Image (sharelatex/sharelatex-base)
|
||||
# --------------------------------------------------
|
||||
|
||||
FROM phusion/baseimage:0.11
|
||||
@@ -44,6 +44,16 @@ RUN wget http://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz && \
|
||||
tar -xvf install-tl-unx.tar.gz -C /install-tl-unx --strip-components=1
|
||||
RUN echo "selected_scheme scheme-basic" >> /install-tl-unx/texlive.profile && \
|
||||
/install-tl-unx/install-tl -profile /install-tl-unx/texlive.profile
|
||||
|
||||
# CTAN mirrors occasionally fail, in that case install TexLive against an
|
||||
# specific server, for example http://ctan.crest.fr
|
||||
# RUN wget http://ctan.crest.fr/tex-archive/systems/texlive/tlnet/install-tl-unx.tar.gz && \
|
||||
# mkdir /install-tl-unx && \
|
||||
# tar -xvf install-tl-unx.tar.gz -C /install-tl-unx --strip-components=1
|
||||
# RUN echo "selected_scheme scheme-basic" >> /install-tl-unx/texlive.profile && \
|
||||
# /install-tl-unx/install-tl -profile /install-tl-unx/texlive.profile \
|
||||
# -repository http://ctan.crest.fr/tex-archive/systems/texlive/tlnet/
|
||||
|
||||
RUN rm -r /install-tl-unx; \
|
||||
rm install-tl-unx.tar.gz
|
||||
ENV PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/texlive/2019/bin/x86_64-linux/
|
||||
|
||||
Reference in New Issue
Block a user