Skip to content

Commit 7db796e

Browse files
committed
test(docker-compose): test more tools
1 parent 0658c51 commit 7db796e

1 file changed

Lines changed: 20 additions & 1 deletion

File tree

pdf/docker-compose.test.yml

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,23 @@ services:
44
build:
55
context: .
66
dockerfile: Dockerfile
7-
command: "sh -c '[ $$(id -u) -eq 1000 ] && pdftk --version'"
7+
command: |
8+
sh -c '
9+
set -euo pipefail
10+
if [ $(id -u) -ne 1000 ]; then
11+
exit 1
12+
fi
13+
base64 --version # coreutils
14+
curl --version # curl
15+
git --version # git
16+
gs --version # ghostscript
17+
java --version # openjdk21-jre-headless
18+
jq --version # jq
19+
ocrmypdf --version # ocrmypdf
20+
pdfgrep --version # pdfgrep
21+
pdfinfo --help # poppler-utils
22+
pdftk --version # pdftk-all
23+
pip --version # py3-pip
24+
python --version # python3
25+
qpdf --version # qpdf
26+
'

0 commit comments

Comments
 (0)