Dockerfile.full 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. # Original Docker file was taken from here: https://github.com/tuetenk0pp/sharelatex-full/blob/master/Dockerfile
  2. #FROM overleafcep/sharelatex:5.5.0-ext-v3
  3. #FROM registry.reymota.es/sharelatex:1.0
  4. FROM registry.reymota.es/overleaf:main
  5. RUN rm /etc/my_init.d/000_check_for_old_env_vars_5.sh
  6. RUN rm /etc/my_init.d/900_run_web_migrations.sh
  7. SHELL ["/bin/bash", "-cx"]
  8. # update tlmgr itself
  9. RUN wget "https://mirror.ctan.org/systems/texlive/tlnet/update-tlmgr-latest.sh" \
  10. && sh update-tlmgr-latest.sh \
  11. && tlmgr --version
  12. # enable tlmgr to install ctex
  13. RUN tlmgr update texlive-scripts
  14. # update packages
  15. RUN tlmgr update --all
  16. # install all the packages
  17. RUN tlmgr install scheme-full
  18. # recreate symlinks
  19. RUN tlmgr path add
  20. # update system packages
  21. RUN apt-get update && apt-get upgrade -y
  22. # install inkscape for svg support
  23. RUN apt-get install inkscape -y
  24. # install lilypond
  25. RUN apt-get install lilypond -y
  26. # enable shell-escape by default:
  27. RUN TEXLIVE_FOLDER=$(find /usr/local/texlive/ -type d -name '20*') \
  28. && echo % enable shell-escape by default >> /$TEXLIVE_FOLDER/texmf.cnf \
  29. && echo shell_escape = t >> /$TEXLIVE_FOLDER/texmf.cnf