LaTeX gitlab ci Makefile Latexmk

Hi everyone,

I try to use gitlab ci to generate all my courses typed in LaTeX.

I have no error with local Makefile but I have this error on gitlab ci

e [0KRunning with gitlab-ci-multi-runner 1.10.4 (b32125f)e[0;m
e[0;me[0KUsing Docker executor with image aergus/latex …
e[0;me[0KPulling docker image aergus/latex …
e[0;mRunning on runner-4e4528ca-project-1130702-concurrent-0 via runner-4e4528ca-machine-1487668625-c31300d2-digital-ocean-4gb…
e[32;1mCloning repository…e[0;m
Cloning into ‘/builds/benoitldr/cours-maths-blandrieu’…
e[32;1mChecking out 6a143f0a as master…e[0;m
e[32;1mSkipping Git submodules setupe[0;m
e[32;1m$ export DIR=/builds/benoitldr/cours-maths-blandrieue[0;m
e[32;1m$ git clone https://gitlab.com/benoitldr/beamerarticle-teacher.gite[0;m
Cloning into ‘beamerarticle-teacher’…
e[32;1m$ export TEXMFHOME=DIR/beamerarticle-teacher/texmfe[0;m e[32;1m export GITLAB=DIRe[0;m e[32;1m make -C 1617-vox/02-tsti2d/05-exp/td5/ studpdfe[0;m
make: Entering directory ‘/builds/benoitldr/cours-maths-blandrieu/1617-vox/02-tsti2d/05-exp/td5’
make stud
make[1]: Entering directory ‘/builds/benoitldr/cours-maths-blandrieu/1617-vox/02-tsti2d/05-exp/td5’
latexmk -pdf -silent -f -pdflatex=‘lualatex --shell-escape -synctex=1 --enable-write18 --interaction=nonstopmode %O “\PassOptionsToClass{student}{beamerarticle-teacher}\input{%S}”’ -jobname=‘t2d-05-fonctions_exponentielles-td5-ELEV’
Latexmk: Run number 1 of rule ‘pdflatex’
This is LuaTeX, Version 0.95.0 (TeX Live 2016/Debian)
system commands enabled.

SyncTeX written on t2d-05-fonctions_exponentielles-td5-ELEV.synctex.gz.Latexmk: Run number 2 of rule 'pdflatex'
This is LuaTeX, Version 0.95.0 (TeX Live 2016/Debian) 
 system commands enabled.

SyncTeX written on t2d-05-fonctions_exponentielles-td5-ELEV.synctex.gz.Latexmk: Run number 3 of rule 'pdflatex'
This is LuaTeX, Version 0.95.0 (TeX Live 2016/Debian) 
 system commands enabled.

SyncTeX written on t2d-05-fonctions_exponentielles-td5-ELEV.synctex.gz.Collected error summary (may duplicate other messages):
  pdflatex: Command for 'pdflatex' gave return code 256
/builds/benoitldr/cours-maths-blandrieu/common.mk:26: recipe for target 'stud' failed
make[1]: Leaving directory '/builds/benoitldr/cours-maths-blandrieu/1617-vox/02-tsti2d/05-exp/td5'
make[1]: *** [stud] Error 12
/builds/benoitldr/cours-maths-blandrieu/common.mk:44: recipe for target 'studpdf' failed
make: Leaving directory '/builds/benoitldr/cours-maths-blandrieu/1617-vox/02-tsti2d/05-exp/td5'
make: *** [studpdf] Error 2
e[31;1mERROR: Build failed: exit code 1
e[0;m

Anyone have an idea why because the compilation failed…

Thanks you !