File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -33,6 +33,16 @@ RUN apk -U upgrade \
33
33
&& apk cache clean \
34
34
&& rm -rf /var/cache/apk/*
35
35
36
+ RUN pip3 install --no-cache-dir --upgrade --break-system-packages \
37
+ gpxpy==1.6.2 \
38
+ tcx2gpx==0.1.5 \
39
+ yq==3.4.3 \
40
+ && msg="$(pip3 list --outdated | grep -i -e '^gpxpy ' -e '^tcx2gpx ' -e '^yq ' || true)" \
41
+ && if [ -n "${msg}" ]; then \
42
+ >&2 echo "ERROR: outdated: ${msg}" ; \
43
+ exit 1 ; \
44
+ fi
45
+
36
46
RUN mkdir -p /opt/saxon
37
47
38
48
COPY pom.xml mvnw run.sh /opt/saxon/
@@ -55,13 +65,3 @@ USER "${USER_NAME}"
55
65
ENV HOME="${USER_HOME}"
56
66
57
67
WORKDIR "${HOME}"
58
-
59
- RUN pip3 install --no-cache-dir --upgrade --break-system-packages \
60
- gpxpy==1.6.2 \
61
- tcx2gpx==0.1.5 \
62
- yq==3.4.3 \
63
- && msg="$(pip3 list --outdated | grep -i -e '^gpxpy ' -e '^tcx2gpx ' -e '^yq ' || true)" \
64
- && if [ -n "${msg}" ]; then \
65
- >&2 echo "ERROR: outdated: ${msg}" ; \
66
- exit 1 ; \
67
- fi
You can’t perform that action at this time.
0 commit comments