Texlive 从 2016 年降级为 2013 年,从 Sharelatex 图像

Texlive gets downgraded from 2016 to 2013 from Sharelatex image

目前我正在将我的系统设置为 运行 我服务器上的一个 Sharelatex 实例 (https://hub.docker.com/r/sharelatex/sharelatex/)。一旦开始,我就是 运行宁:

$ tex --version

而且它清楚地表明它是 运行ning texlive 2016。由于它只提供了 Latex 的最小安装,我正在执行以下操作:

tlmgr install scheme-full
apt-get update
apt-get install -y texlive texlive-lang-german texlive-doc-de texlive-latex-extra texlive-base texlive-full biber

毕竟,我 运行再次使用 tex --version 命令 - 突然间,它是 texlive 2013 (debian)。此外,KomaScript 框架似乎不起作用(编译器 texlive 不理解 \RedeclareSectionCommand)。有趣的是:我在大约 7 个月前的先前安装中使用了相同的 docker-compose 文件 运行ning 完全相同的命令。 在这个较旧的安装中,我有完全相同的 Late Source,而且我没有遇到任何问题。

有谁知道如何防止 Sharelatex 降级或如何解决这个问题?

经过几天的努力,我发现这个问题只有 运行:

tlmgr install scheme-full

够了。所有其他命令,尤其是更新和安装上述内容中的任何内容都会导致系统崩溃。