Skip to content

Commit cdd308e

Browse files
authored
Merge pull request #9 from deogracia/add-ghostscript-imagemagick
add ghostscript & imagemagick
2 parents fd8382d + 90283c2 commit cdd308e

File tree

3 files changed

+15
-3
lines changed

3 files changed

+15
-3
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
FROM alpine:3.11.6
22

33
RUN apk update && \
4-
apk add --no-cache texlive-full
4+
apk add --no-cache texlive-full imagemagick ghostscript
55

66
WORKDIR /latex

goss.yaml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,12 @@ package:
3636
texlive-full:
3737
installed: true
3838
versions:
39-
- 20190410-r6
39+
- 20190410-r6
40+
imagemagick:
41+
installed: true
42+
versions:
43+
- 7.0.9.7-r0
44+
ghostscript:
45+
installed: true
46+
versions:
47+
- 9.50-r0

test.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,11 @@ apk update; apk add curl
55
curl -fsSL https://goss.rocks/install | sh
66

77
mkdir -p /latex/output && \
8+
echo "Generate pdf with xelatex..." && \
89
cd /latex/output && \
910
xelatex /latex/doc.tex && \
11+
echo "Generate pdf with xelatex... OK!" && \
1012
cd /latex && \
11-
goss validate
13+
echo "Run goss..." && \
14+
goss validate --format documentation && \
15+
echo "Run goss... OK!"

0 commit comments

Comments
 (0)