Dockerfile.sharelatex-full 857 B

12345678910111213141516171819202122232425262728293031323334
  1. FROM sharelatex/sharelatex:6.1.2
  2. SHELL ["/bin/bash", "-cx"]
  3. # update tlmgr itself
  4. RUN wget "https://mirror.ctan.org/systems/texlive/tlnet/update-tlmgr-latest.sh" \
  5. && sh update-tlmgr-latest.sh \
  6. && tlmgr --version
  7. # enable tlmgr to install ctex
  8. RUN tlmgr update texlive-scripts
  9. # update packages
  10. RUN tlmgr update --all
  11. # install all the packages
  12. RUN tlmgr install scheme-full
  13. # recreate symlinks
  14. RUN tlmgr path add
  15. # update system packages
  16. RUN apt-get update && apt-get upgrade -y
  17. # install inkscape for svg support
  18. RUN apt-get install inkscape -y
  19. # install lilypond
  20. RUN apt-get install lilypond -y
  21. # enable shell-escape by default:
  22. RUN TEXLIVE_FOLDER=$(find /usr/local/texlive/ -type d -name '20*') \
  23. && echo % enable shell-escape by default >> /$TEXLIVE_FOLDER/texmf.cnf \
  24. && echo shell_escape = t >> /$TEXLIVE_FOLDER/texmf.cnf