Skip to content

Commit 8bce787

Browse files
committed
test(docker-compose): test more tools
1 parent c9547c8 commit 8bce787

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

qrcode/docker-compose.test.yml

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

0 commit comments

Comments
 (0)