Skip to content

Commit f337190

Browse files
committed
test(docker-compose): test more tools
1 parent f16a97b commit f337190

File tree

2 files changed

+21
-2
lines changed

2 files changed

+21
-2
lines changed

xml/Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ RUN apk -U upgrade \
3535
&& rm -rf /var/cache/apk/*
3636

3737
RUN pip3 install --no-cache-dir --upgrade --break-system-packages \
38-
gpxpy==1.6.2 \
3938
tcx2gpx==0.1.5 \
4039
yq==3.4.3 \
4140
&& msg="$(pip3 list --outdated | grep -i -e '^gpxpy ' -e '^tcx2gpx ' -e '^yq ' || true)" \

xml/docker-compose.test.yml

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,24 @@ services:
44
build:
55
context: .
66
dockerfile: Dockerfile
7-
command: "sh -c '[ $$(id -u) -eq 1000 ] && xmllint --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+
yq --version # yq
19+
xmllint --version # libxml2-utils
20+
xsltproc --version # libxslt
21+
mvn --version # maven
22+
java --version # openjdk21-jre-headless
23+
xmlindent -v # xmlindent
24+
xmlsec1 --version # xmlsec
25+
xmlstarlet --version # xmlstarlet
26+
xmlto --version # xmlto
27+
'

0 commit comments

Comments
 (0)