Skip to content

Instantly share code, notes, and snippets.

@tkrajina
Last active July 31, 2019 17:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tkrajina/1b12fcc6c48fb3e582ac803a9f517146 to your computer and use it in GitHub Desktop.
Save tkrajina/1b12fcc6c48fb3e582ac803a9f517146 to your computer and use it in GitHub Desktop.
Dockerfile with Croatian LaTeX
# Build:
# docker build -t latex .
# Run latex:
# docker run -v $(pwd):/latex -it latex pdflatex git.tex
# docker run -v $(pwd):/latex -it /bin/bash
FROM ubuntu:latest
RUN apt-get -y update
RUN apt-get -y install texlive-latex-base texlive-lang-european
WORKDIR /latex
CMD ["/bin/bash"]
@tkrajina
Copy link
Author

tkrajina commented Jul 1, 2019

docker build . -t latex
docker run -v $(pwd):/latex -it latex pdflatex file.tex

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment