Public | Automated Build

Last pushed: a year ago
Short Description
Docker configuration for automated LaTeX builds with GitLab
Full Description


This is a base image, used for our GitLab CI as a shared runner. All packages
are included to build pdf-files with our paper-build repository.

Build local image

$ docker build -t hhucn-latex .

This takes a while, since all packages from the Dockerfile need to be installed.

Start local instance of the container

Connect to local container with a bash:

$ docker run -it hhucn-latex bash

Copy files to the running container

Assuming you connected to the container you previously built and started a bash

$ docker run -it hhucn-latex bash

In this example, the host is ac9e1dfa2eec. We can now copy files from our host
into this container. For example we want to copy the file into our
container. Then we have to call from our host system:

$ docker cp ac9e1dfa2eec:/

Inside the container, we can see the file:

root@ac9e1dfa2eecy:/ ls -l
-rw-r--r-- 1 root root 4 Jun 21 13:04
Docker Pull Command
Source Repository

Comments (0)