How to fetch and use the image:
$ singularity pull https://github.com/bast/singularity-latex/releases/download/0.2.0/pdflatex.sif
$ ./pdflatex.sif example.tex
I have used this wonderful guide as starting point and inspiration: https://github.com/singularityhub/singularity-deploy