Skip to content

Commit d9910a9

Browse files
committed
test(docker-compose): test more tools
1 parent 5e4e3ab commit d9910a9

File tree

2 files changed

+17
-3
lines changed

2 files changed

+17
-3
lines changed

csv/Dockerfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ RUN apk -U upgrade \
2020
gawk=5.3.2-r2 \
2121
git=2.49.1-r0 \
2222
grep=3.12-r0 \
23-
g++=14.2.0-r6 \
24-
icu-dev=76.1-r1 \
2523
py3-pip=25.1.1-r0 \
2624
python3=3.12.11-r0 \
2725
sed=4.9-r2 \

csv/docker-compose.test.yml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,20 @@ services:
44
build:
55
context: .
66
dockerfile: Dockerfile
7-
command: "sh -c '[ $$(id -u) -eq 1000 ] && csvsql --version'"
7+
command: |
8+
sh -c '
9+
set -euo pipefail
10+
if [ $(id -u) -ne 1000 ]; then
11+
exit 1
12+
fi
13+
awk --version # gawk
14+
base64 --version # coreutils
15+
csvq --version # csvq
16+
csvsql --version # csvkit
17+
curl --version # curl
18+
git --version # git
19+
grep --version # grep
20+
pip --version # py3-pip
21+
python --version # python3
22+
sed --version # sed
23+
'

0 commit comments

Comments
 (0)