Dockerfile.full 823 B

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