diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d611fc4..746af09 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,17 +1,7 @@ -# This file is a template, and might need editing before it works on your project. -# use docker image with latex preinstalled -# since there is no official latex image, use https://github.com/blang/latex-docker -# possible alternative: https://github.com/natlownes/docker-latex -image: blang/latex +image: luki42/docker:v1.0 build: script: - - apt update && apt install -y wget unzip - - wget http://mirrors.ctan.org/macros/latex/contrib/beamer-contrib/themes/beamertheme-focus.zip - - unzip beamertheme-focus.zip - - mkdir /usr/share/texlive/texmf-dist/tex/latex/beamertheme-focus/ - - mv beamertheme-focus/*.sty /usr/share/texlive/texmf-dist/tex/latex/beamertheme-focus/ - - ls -la /usr/share/texlive/texmf-dist/tex/latex - latexmk -pdf src/main.tex artifacts: paths: