mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Merge pull request #8930 from overleaf/ae-verify-texlive
Verify the TeX Live installer GitOrigin-RevId: 8b6ce1820930da4250e69d5b857c41a3cb55442c
This commit is contained in:
parent
ed67590cc9
commit
106411085f
1 changed files with 14 additions and 8 deletions
|
@ -34,19 +34,25 @@ RUN chmod +x /usr/bin/envsubst
|
||||||
|
|
||||||
# Install TexLive
|
# Install TexLive
|
||||||
# ---------------
|
# ---------------
|
||||||
# CTAN mirrors occasionally fail, in that case install TexLive against an
|
# CTAN mirrors occasionally fail, in that case install TexLive using a
|
||||||
# specific server, for example http://ctan.crest.fr
|
# different server, for example https://ctan.crest.fr
|
||||||
#
|
#
|
||||||
# # docker build \
|
# # docker build \
|
||||||
# --build-arg TEXLIVE_MIRROR=http://ctan.crest.fr/tex-archive/systems/texlive/tlnet \
|
# --build-arg TEXLIVE_MIRROR=https://ctan.crest.fr/tex-archive/systems/texlive/tlnet \
|
||||||
# -f Dockerfile-base -t sharelatex/sharelatex-base .
|
# -f Dockerfile-base -t sharelatex/sharelatex-base .
|
||||||
ARG TEXLIVE_MIRROR=http://mirror.ctan.org/systems/texlive/tlnet
|
ARG TEXLIVE_MIRROR=https://mirror.ox.ac.uk/sites/ctan.org/systems/texlive/tlnet
|
||||||
|
|
||||||
RUN mkdir /install-tl-unx \
|
RUN mkdir /install-tl-unx \
|
||||||
&& curl -sSL \
|
&& wget --quiet https://tug.org/texlive/files/texlive.asc \
|
||||||
${TEXLIVE_MIRROR}/install-tl-unx.tar.gz \
|
&& gpg --import texlive.asc \
|
||||||
| tar -xzC /install-tl-unx --strip-components=1 \
|
&& rm texlive.asc \
|
||||||
\
|
&& wget --quiet ${TEXLIVE_MIRROR}/install-tl-unx.tar.gz \
|
||||||
|
&& wget --quiet ${TEXLIVE_MIRROR}/install-tl-unx.tar.gz.sha512 \
|
||||||
|
&& wget --quiet ${TEXLIVE_MIRROR}/install-tl-unx.tar.gz.sha512.asc \
|
||||||
|
&& gpg --verify install-tl-unx.tar.gz.sha512.asc \
|
||||||
|
&& sha512sum -c install-tl-unx.tar.gz.sha512 \
|
||||||
|
&& tar -xz -C /install-tl-unx --strip-components=1 -f install-tl-unx.tar.gz \
|
||||||
|
&& rm install-tl-unx.tar.gz* \
|
||||||
&& echo "tlpdbopt_autobackup 0" >> /install-tl-unx/texlive.profile \
|
&& echo "tlpdbopt_autobackup 0" >> /install-tl-unx/texlive.profile \
|
||||||
&& echo "tlpdbopt_install_docfiles 0" >> /install-tl-unx/texlive.profile \
|
&& echo "tlpdbopt_install_docfiles 0" >> /install-tl-unx/texlive.profile \
|
||||||
&& echo "tlpdbopt_install_srcfiles 0" >> /install-tl-unx/texlive.profile \
|
&& echo "tlpdbopt_install_srcfiles 0" >> /install-tl-unx/texlive.profile \
|
||||||
|
|
Loading…
Reference in a new issue