Skip to content

Commit 06394e2

Browse files
committed
test(docker-compose): test more tools
1 parent c62355d commit 06394e2

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

img/docker-compose.test.yml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,18 @@ services:
44
build:
55
context: .
66
dockerfile: Dockerfile
7-
command: "sh -c '[ $$(id -u) -eq 1000 ] && identify --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+
exiftool -ver # exiftool
16+
git --version # git
17+
identify --version # imagemagick
18+
optipng --version # optipng
19+
pip --version # py3-pip
20+
python --version # python3
21+
'

0 commit comments

Comments
 (0)