Tex compilation wip
This commit is contained in:
parent
4a3839e86b
commit
6213578981
7
hooks/containerbuild/texlive/add-packages
Executable file
7
hooks/containerbuild/texlive/add-packages
Executable file
@ -0,0 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -e
|
||||
|
||||
echo 'ENV DEBIAN_FRONTEND=noninteractive' >> Dockerfile
|
||||
echo 'RUN apt-get update && apt-get install --yes --no-install-recommends texlive-full' >> Dockerfile
|
||||
echo 'ENV DEBIAN_FRONTEND=' >> Dockerfile
|
13
hooks/containerbuild/texlive/add-ressources
Normal file → Executable file
13
hooks/containerbuild/texlive/add-ressources
Normal file → Executable file
@ -2,6 +2,13 @@
|
||||
|
||||
set -e
|
||||
|
||||
echo 'ENV DEBIAN_FRONTEND=noninteractive' >> Dockerfile
|
||||
echo 'RUN apt-get update && apt-get install --yes --no-install-recommends build-essential devscripts equivs python3' >> Dockerfile
|
||||
echo 'ENV DEBIAN_FRONTEND=' >> Dockerfile
|
||||
|
||||
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user