forked from irods/irods_training
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
19 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
FROM ubuntu:20.04 | ||
RUN apt update | ||
ENV DEBIAN_FRONTEND noninteractive | ||
RUN apt install -y git texlive-latex-base texlive-latex-recommended texlive-latex-extra | ||
WORKDIR /tmp | ||
ENTRYPOINT [ "pdflatex" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
SHELL=/bin/bash | ||
|
||
default: | ||
pdflatex irods_beginner_training_2019.tex | ||
pdflatex irods_beginner_training_2022.tex | ||
|
||
clean: | ||
rm -f irods_beginner_training_2019.{aux,log,out,toc} | ||
rm -f irods_beginner_training_2022.{aux,log,out,toc} |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/bin/bash | ||
CMDDIR=$(dirname "$0") | ||
cd "$CMDDIR" | ||
docker build --quiet=true --rm -t pdf_from_latex -f Dockerfile.pdflatex . || { | ||
echo "Docker must be installed for this script to work." >&2 | ||
exit 1 | ||
} | ||
docker run --rm -v `pwd`:/tmp -t pdf_from_latex *.tex | ||
make clean |