Refine docker-ci

Signed-off-by: Adrian C. Hinrichs's avatarAdrian C. Hinrichs <adrian.hinrichs@rwth-aachen.de>
parent 0ff06c46
Pipeline #123150 passed with stage
in 3 minutes and 2 seconds
......@@ -27,5 +27,15 @@ build testing:
- docker
script:
- echo "$CI_JOB_TOKEN" | docker login registry.git.rwth-aachen.de --username gitlab-ci-token --password-stdin
- docker build -t registry.git.rwth-aachen.de/achinrichs/latex-templates:testing .
- docker push registry.git.rwth-aachen.de/achinrichs/latex-templates:testing
\ No newline at end of file
- docker build -t registry.git.rwth-aachen.de/achinrichs/latex-templates:testing ./docker/testing/
- docker push registry.git.rwth-aachen.de/achinrichs/latex-templates:testing
build latest:
image: docker:stable-dind
stage: build
only:
- master
script:
- echo "$CI_JOB_TOKEN" | docker login registry.git.rwth-aachen.de --username gitlab-ci-token --password-stdin
- docker build -t registry.git.rwth-aachen.de/achinrichs/latex-templates:latest ./docker/latest/
- docker push registry.git.rwth-aachen.de/achinrichs/latex-templates:latest
\ No newline at end of file
FROM thomasweise/texlive:latest
RUN wget https://git.rwth-aachen.de/ACHinrichs/LaTeX-templates/-/archive/dev/LaTeX-templates-dev.tar.gz
RUN tar xzf LaTeX-templates-dev.tar.gz
RUN mkdir -p ~/texmf/tex/latex/local
RUN mv LaTeX-templates-dev ~/texmf/tex/latex/local/
RUN texhash
RUN wget http://www.gust.org.pl/projects/e-foundry/tex-gyre/adventor/qag2_501bas.zip
RUN unzip qag2_501bas.zip -d ~/.fonts
RUN wget http://www.gust.org.pl/projects/e-foundry/tex-gyre/pagella/qpl2_501bas.zip
RUN unzip qpl2_501bas.zip -d ~/.fonts
RUN wget https://www.fontsquirrel.com/fonts/download/fira-mono
RUN unzip fira-mono -d ~/.fonts
RUN fc-cache -fv
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment