he creado un minimal con Dockerfile.6.1.2 aunque usa la imagen 5.
Entrando en el contenedor, he ejecutado:
wget "https://mirror.ctan.org/systems/texlive/tlnet/update-tlmgr-latest.sh" \
&& sh update-tlmgr-latest.sh \
&& tlmgr --version
# enable tlmgr to install ctex
tlmgr update texlive-scripts
# update packages
tlmgr update --all
# install all the packages
tlmgr install scheme-full
Creo un nuevo Dockerfile con la extensión cep (Community Edition Plus)
Contiene la versión 5, quitando la comprobación de variables SHARELATEX e incluyendo el paquete completo de LaTeX según los comandos anteriores.
Con esto funciona correctamente.
Para crear la imagen hay que
make build-cep
y luego
make push-cep