Profil générique pour la compilation de documents

This commit is contained in:
2022-08-02 16:29:39 +02:00
parent c0b15b9836
commit c0e3e542ff
8 changed files with 133 additions and 0 deletions

View File

@ -0,0 +1,10 @@
#!/usr/bin/env bash
set -e
echo 'ENV DEBIAN_FRONTEND=noninteractive' >> Dockerfile
echo 'RUN apt-get update && apt-get install --yes make' >> Dockerfile
echo 'RUN apt-get update && apt-get install --yes texlive-full python3-setuptools python-setuptools python3-pygments python-pygments fonts-liberation fonts-liberation2 rubber' >> Dockerfile
echo 'RUN apt-get update && apt-get install --yes pandoc' >> Dockerfile
echo 'ENV DEBIAN_FRONTEND=' >> Dockerfile

View File

@ -0,0 +1,13 @@
#!/usr/bin/env bash
set -e
if [ -e './datasets/fonts' ]
then
for font_file in $(find . -wholename "./datasets/fonts/*.ttf")
do
echo 'COPY datasets/fonts/$font_file /root/.fonts/$font_file' >> Dockerfile
done
fi
exit 0