Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
R3
docker
gglatex
Commits
83e35b7e
Commit
83e35b7e
authored
Oct 21, 2019
by
Miroslav Kratochvil
Browse files
Initial version
parents
Changes
2
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
0 → 100644
View file @
83e35b7e
image
:
docker:19.03.0
variables
:
# When using dind service, we need to instruct docker, to talk with
# the daemon started inside of the service. The daemon is available
# with a network connection instead of the default
# /var/run/docker.sock socket. docker:19.03.1 does this automatically
# by setting the DOCKER_HOST in
# https://github.com/docker-library/docker/blob/d45051476babc297257df490d22cbd806f1b11e4/19.03.1/docker-entrypoint.sh#L23-L29
#
# The 'docker' hostname is the alias of the service container as described at
# https://docs.gitlab.com/ee/ci/docker/using_docker_images.html#accessing-the-services.
#
# Note that if you're using the Kubernetes executor, the variable
# should be set to tcp://localhost:2376/ because of how the
# Kubernetes executor connects services to the job container
#DOCKER_HOST: tcp://localhost:2376/
#
# When using dind, it's wise to use the overlayfs driver for
# improved performance.
DOCKER_DRIVER
:
overlay2
# Specify to Docker where to create the certificates, Docker will
# create them automatically on boot, and will create
# `/certs/client` that will be shared between the service and job
# container, thanks to volume mount from config.toml
DOCKER_TLS_CERTDIR
:
"
"
services
:
-
docker:19.03.0-dind
build_image
:
before_script
:
-
docker login -u exaexa -p 4ZvvYQSgoX3MkNyPnpoo git-r3lab.uni.lu:4567
script
:
-
docker build -t git-r3lab.uni.lu:4567/exaexa/gglatex .
-
docker push git-r3lab.uni.lu:4567/exaexa/gglatex
tags
:
-
privileged
except
:
refs
:
-
master
job
:
artifacts
:
expire_in
:
1 week
Dockerfile
0 → 100644
View file @
83e35b7e
#this is based on tianon/latex, but updated to newer debian
FROM
debian:stable-slim
RUN
apt-get update
RUN
apt-get
install
-y
\
biber latexmk make
\
texlive-latex-extra
\
texlive-fonts-extra
\
texlive-bibtex-extra
\
texlive-science texlive-publishers texlive-pictures
\
texlive-formats-extra
RUN
apt-get
install
-y
\
r-base r-recommended
RUN
R
-e
"install.packages(c('cowplot', 'ggplot2'))"
RUN
rm
-rf
/var/lib/apt/lists/
*
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment