Skip to content

A Dockerfile for your LaTeX projects based on Ubuntu rolling releases

License

Notifications You must be signed in to change notification settings

p3t3r67x0/docker-latex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

docker-latex

mit license docker build docker pulls docker version

A Dockerfile for your LaTeX projects based on Ubuntu rolling releases

Docker logo

This image helps compiling latex sources without the need to install all latex packages on your system.

Why should I use this container?

  • Easy setup, compile immediately after image download

Docker Hub

Make use of the pre build docker image

docker pull opendatacoder/latex

Requirements

Add your local user to docker group if this is not yet the case

sudo usermod -aG docker $(whoami)

Docker Usage

Quick Setup

Compile latex sources using docker, run this command

docker run --rm -i -v $PWD:/home/latex/data opendatacoder/latex:latest pdflatex main.tex

Daemon setup

If you're working on source in latex, you might want to compile it multiple times and don't want to start a container each time.

docker run -d --rm -i -t -v $PWD:/home/latex/data opendatacoder/latex:latest /bin/bash -c "sleep forever"

About

A Dockerfile for your LaTeX projects based on Ubuntu rolling releases

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published