Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 791 Bytes

File metadata and controls

26 lines (20 loc) · 791 Bytes

latex-docker

This project provides a docker image containing a full latex installation incl. pandoc for converting tex documents to html.
The docker image can be used to locally build latex documents as well as automating latex builds and document conversion in e.g. CICD pipelines.

usage

The image can be pulled from the github container registry:

docker pull ghcr.io/devloberto/latex-docker:master

I personally use the image in docker compose files to build my latex documents.
An example of such a compose.yml is shown below:

services:
  portfolio:
    image: ghcr.io/devloberto/latex-docker:master
    volumes:
      - "${PWD}:/home/latex/portfolio"
    working_dir: "/home/latex/portfolio"
    user: "${UID}:${GID}"
    command: ${CMD:-make run}