Skip to content

mattmahn/docker-latex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-latex

It seems that the texlive-full Alpine Linux package maybe broken, so this doesn't work rigt now.

This container came about because I wasam using tianon/latex to build some LaTeX documents, but GitLab took a long time to pull the container, so I decided to attempt making a smaller version that will significantly improve CI build times. In addition, I also wanted to be able to use a Makefile for building.

This more lightweight version reduces the build time by about 4 minutes!

Usage

GitLab

Add a build job similar to the following to your .gitlab-ci.yml:

compile_pdf:
  image: mattmahn/latex
  script:
    - pslatex report.tex
    - make report.pdf
  artifacts:
    paths:
      - report.ps
      - report.pdf

Development

Building the container

docker build --pull -t docker-latex .

Compiling sample document

docker run docker-latex pdflatex /tmp/test-sample.tex

License

This is released into the public domain.

About

A lightweight container for building LaTeX documents

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages