Docker container with latest TeXlive, arara and telepot.
1.6K
This container is intended to be used as a base image in CI builds of LaTeX documentation. It is mainly designed to work with Arara as build tool, instead of Latexmk. It also contains Python's telepot library, used to notify about builds (and their results) through a Telegram Bot.
Includes the latest available version of the following packages and utilities:
Pull image (from Hub):
docker pull rig8f/latex-telepot
Set some Environmental variables in repository's settings (Settings > Pipelines > Environment variables) to make the script operative, in particular:
TOKEN contains the Telegram Bot Token, consider setting it as securedFILE contains the main TeX file, with extension (e.g. report.tex)USERn one variable per user that has to be notified through the bot (keep list coherent with the code below)BITBUCKET are automatically set by the systemExample of bitbucket-pipelines.yml
image: rig8f/latex-telepot:latest
pipelines:
default:
- step:
script:
- arara -v $FILE
- python /data/notify.py -t $TOKEN -f $FILE -b $BITBUCKET_BRANCH -c $BITBUCKET_COMMIT -u $USER1,$USER2,$USERn
tags:
- step:
script:
- arara -v $FILE
- python /data/notify.py -t $TOKEN -f $FILE -m $BITBUCKET_TAG -u $USER1,$USER2,$USERn
This repository is forked from latex-docker.
(C) 2017-19 Filippo Rigotto. Released under MIT License (see LICENSE file).
Content type
Image
Digest
Size
1.7 GB
Last updated
almost 7 years ago
docker pull rig8f/latex-telepot