To receive notifications about scheduled maintenance, please subscribe to the mailing-list gitlab-operations@sympa.ethz.ch. You can subscribe to the mailing-list at https://sympa.ethz.ch

Commit 2060a3b4 authored by Bengt Giger's avatar Bengt Giger
Browse files

Added wrapper for mounting working directory in a container

parent 456585dc
Pipeline #87641 passed with stage
in 43 minutes and 46 seconds
......@@ -4,6 +4,7 @@ LABEL maintainer="Bengt Giger <bgiger@ethz.ch>"
COPY laweb /usr/local/bin/laweb
COPY laweb.sty /usr/share/texlive/texmf-local/tex/latex/laweb.sty
COPY laweb.cfg /usr/share/texlive/texmf-local/tex/latex/laweb.cfg
COPY laweb-wrapper.sh /usr/local/bin/laweb-wrapper
RUN dnf install -y texlive-tikz-dependency texlive-tex4ht texlive-scheme-full texlive-ifluatex
WORKDIR /home/workdir
......
#!/usr/bin/env bash
# Wrapper for container builds, not for interactive usage
if [ "$(pwd)" != "/home/workdir" ]; then
cd /home/workdir
fi
/usr/local/bin/laweb $1
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