Created
November 20, 2021 02:56
-
-
Save bast/3a7891fcbc00ac4fbe2e534868e80474 to your computer and use it in GitHub Desktop.
Singularity recipe to generate pdf from Sphinx lesson
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Bootstrap: docker | |
From: ubuntu:21.04 | |
%files | |
requirements.txt | |
%post | |
export DEBIAN_FRONTEND=noninteractive | |
apt-get update -y | |
apt install -y texlive texlive-fonts-extra latexmk | |
apt install -y python3 python3-venv python3-pip | |
pip install --upgrade pip | |
pip install -r requirements.txt | |
%environment | |
export LC_ALL=C | |
%runscript | |
make latexpdf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment