Skip to content
Snippets Groups Projects
Commit bd08f14e authored by Jakob Fritz's avatar Jakob Fritz
Browse files

Added Dockerfile for Image including beamertheme

This can be built locally with the dockerfile
or in the CI via the Kanko-Job
parent 3d56c9d2
No related branches found
No related tags found
No related merge requests found
.git
tests:
script:
- cd tests && make
docker_image:
when: manual
image:
name: gcr.io/kaniko-project/executor:debug
entrypoint: [""]
variables:
DOCKER_FILE: Dockerfile
before_script:
- COMMIT_BRANCH=$( echo "$CI_COMMIT_BRANCH" |
tr [:upper:] [:lower:] | tr '/' '_' )
- REGISTRY_IMAGE=$( echo "$CI_REGISTRY_IMAGE" | tr [:upper:] [:lower:] )
script:
- mkdir -p /kaniko/.docker
- echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",
\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json
- /kaniko/executor --context $CI_PROJECT_DIR
--dockerfile $CI_PROJECT_DIR/$DOCKER_FILE
--destination ${REGISTRY_IMAGE}/${COMMIT_BRANCH}:latest
--destination ${REGISTRY_IMAGE}/${COMMIT_BRANCH}:${CI_COMMIT_SHORT_SHA}
FROM texlive/texlive:TL2021-historic
# install local juelich theme
# RUN mkdir -p ~/texmf/tex/latex/beamertheme-juelich/
ADD . /usr/local/texlive/texmf-local/tex/latex/beamertheme-juelich/
RUN texhash
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment