Public | Automated Build

Last pushed: 7 months ago
Short Description
Inspired by blang/latex! This image can be used to compile latex projects with Bitbucket Pipelines.
Full Description

This Docker Image can be used in BitBucket pipelines to build your LaTeX projects. To do so, you can configure your bitbucket-pipelines.yml like the following. This assumes that the main latex file is called main.tex.

To use curl to download the main.pdf to your BitBucket downloads folder, use the following guide from BitBucket.

image: kaspersoerensen/latex-docker:latest

    - step:
          - pdflatex --shell-escape main.tex # Build once
          - bibtex main # Build bibtex
          - pdflatex -shell-escape main.tex # Build again
          - pdflatex -shell-escape main.tex # And last time
          - curl -X POST --user "${BB_AUTH_STRING}" "${BITBUCKET_REPO_OWNER}/${BITBUCKET_REPO_SLUG}/downloads" --form files=@"main.pdf"
Docker Pull Command
Source Repository

Comments (0)