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 <>"
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 /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
/usr/local/bin/laweb $1
Supports Markdown
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