Correct md2pdf alias to work non-interactively

This commit is contained in:
spawnia 2018-04-14 11:57:17 +02:00
parent 8dd29e5afd
commit 3c3f269470
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ RUN apt-get update \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
# Wrap pdf creation in a xvfb-run to enable headless pdf creation in the container # Wrap pdf creation in a xvfb-run to enable headless pdf creation in the container
RUN printf '#!/bin/bash\nexec xvfb-run md2resume pdf "$@"' >> /usr/bin/md2pdf \ RUN printf '#!/bin/bash\nxvfb-run md2resume pdf "$@"' >> /usr/bin/md2pdf \
&& chmod +x /usr/bin/md2pdf && chmod +x /usr/bin/md2pdf
# Enables continously calling a command and piping the output to STDOUT, viewable via docker logs # Enables continously calling a command and piping the output to STDOUT, viewable via docker logs