Correction des dépendances et des options pour rubber

This commit is contained in:
Benjamin Bohard 2022-04-14 10:23:37 +02:00
parent 63147ad374
commit 47f02ce6d2
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@ pushd /src
document_root=${PROJECT}
for tex in ./presentations/${document_root}/*.tex
do
rubber --inplace --module=xelatex "$tex"
rubber --inplace -c shell_escape --unsafe --module=xelatex "$tex"
cp "${tex%.tex}.pdf" /dist/
# faire quelque chose pour le programme de la formation
done

View File

@ -6,6 +6,6 @@ echo 'ENV DEBIAN_FRONTEND=noninteractive' >> Dockerfile
echo 'RUN apt-get update && apt-get install --yes --no-install-recommends texlive-full' >> Dockerfile
echo 'RUN apt-get update && apt-get install --yes --no-install-recommends make' >> Dockerfile
echo 'RUN apt-get update && apt-get install --yes --no-install-recommends fonts-liberation fonts-liberation2' >> Dockerfile
echo 'RUN apt-get update && apt-get install --yes --no-install-recommends python3-pygments' >> Dockerfile
echo 'RUN apt-get update && apt-get install --yes --no-install-recommends python3-pygments python-pygments' >> Dockerfile
echo 'RUN apt-get update && apt-get install --yes --no-install-recommends rubber' >> Dockerfile
echo 'ENV DEBIAN_FRONTEND=' >> Dockerfile