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
Institute of Experimental Physics
Quantum Interfaces
S
Software
Docker
Docker PDF Compiler
Commits
f8de2f93
Commit
f8de2f93
authored
Jan 16, 2020
by
Klemens Schüppert
Browse files
Fixed bash script execution
parent
f2686448
Pipeline
#27387
passed with stage
in 2 minutes and 44 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
Dockerfile
Dockerfile
+1
-2
compile
compile
+6
-0
No files found.
Dockerfile
View file @
f8de2f93
...
...
@@ -19,8 +19,7 @@ COPY ./modules/ /usr/local/share/texmf/
RUN
groupadd
-r
compiler
&&
useradd
-r
-g
compiler compiler
RUN
echo
'pdflatex $1 && pdflatex $1 && bibtex $1 && pdflatex $1 && pdflatex $1'
>
/usr/bin/compile
&&
\
chmod
0755 /usr/bin/compile
COPY
compile /usr/bin/compile
WORKDIR
/home/compiler
USER
compiler:compiler
...
...
compile
0 → 100755
View file @
f8de2f93
#!/bin/bash
pdflatex
$1
pdflatex
$1
bibtex
$1
pdflatex
$1
pdflatex
$1
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