Skip to content

Commit

Permalink
Merge pull request #9 from deogracia/add-ghostscript-imagemagick
Browse files Browse the repository at this point in the history
add ghostscript & imagemagick
  • Loading branch information
deogracia authored Nov 15, 2020
2 parents fd8382d + 90283c2 commit cdd308e
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM alpine:3.11.6

RUN apk update && \
apk add --no-cache texlive-full
apk add --no-cache texlive-full imagemagick ghostscript

WORKDIR /latex
10 changes: 9 additions & 1 deletion goss.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,12 @@ package:
texlive-full:
installed: true
versions:
- 20190410-r6
- 20190410-r6
imagemagick:
installed: true
versions:
- 7.0.9.7-r0
ghostscript:
installed: true
versions:
- 9.50-r0
6 changes: 5 additions & 1 deletion test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@ apk update; apk add curl
curl -fsSL https://goss.rocks/install | sh

mkdir -p /latex/output && \
echo "Generate pdf with xelatex..." && \
cd /latex/output && \
xelatex /latex/doc.tex && \
echo "Generate pdf with xelatex... OK!" && \
cd /latex && \
goss validate
echo "Run goss..." && \
goss validate --format documentation && \
echo "Run goss... OK!"

0 comments on commit cdd308e

Please sign in to comment.