Skip to content
Snippets Groups Projects
Commit 84ca7c64 authored by Björn Beckendorf's avatar Björn Beckendorf :computer:
Browse files

First Version of a LaTeX Builder Docker

parents
No related branches found
No related tags found
No related merge requests found
Pipeline #
build-docker:
image: docker
stage: build
tags:
- shared
timeout: 3 hours
script:
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- docker build --pull --no-cache --build-arg BASE_IMAGE_TAG -t $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG .
- docker push $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG
- if [ "$CI_COMMIT_REF_SLUG" == "$CI_DEFAULT_BRANCH" ]; then
- docker tag "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG" "$CI_REGISTRY_IMAGE:latest"
- docker push $CI_REGISTRY_IMAGE:latest
- fi
FROM debian:stable
RUN apt-get update
RUN apt-get -y upgrade
RUN apt-get -y install texlive-full python3-pip python3-venv pandoc
RUN python3 -m venv venv
RUN source venv/bin/activate
RUN pip install python-frontmatter
RUN pip install pypandoc
# LaTeX docker
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment