diff --git a/Dockerfile b/Dockerfile index 9f66452..fb5de60 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/goss.yaml b/goss.yaml index f42e7a2..a267539 100644 --- a/goss.yaml +++ b/goss.yaml @@ -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 diff --git a/test.sh b/test.sh index c17a975..715fa43 100755 --- a/test.sh +++ b/test.sh @@ -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!"