Server Pro fixes (#109)

This commit is contained in:
Miguel Serrano
2019-08-22 16:57:26 +02:00
committed by GitHub
parent 1df1f17fc6
commit f100877eb7
5 changed files with 27 additions and 154 deletions
+11 -1
View File
@@ -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/