File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -32,6 +32,14 @@ RUN apk -U upgrade \
3232 && apk cache clean \
3333 && rm -rf /var/cache/apk/*
3434
35+ RUN pip3 install --no-cache-dir --upgrade --break-system-packages \
36+ csvkit==2.1.0 \
37+ && msg="$(pip3 list --outdated | grep -i -e '^csvkit ' || true)" \
38+ && if [ -n "${msg}" ]; then \
39+ >&2 echo "ERROR: outdated: ${msg}" ; \
40+ exit 1 ; \
41+ fi
42+
3543RUN adduser \
3644 --home "${USER_HOME}" \
3745 --uid "${USER_ID}" \
@@ -44,11 +52,3 @@ USER "${USER_NAME}"
4452ENV HOME="${USER_HOME}"
4553
4654WORKDIR "${HOME}"
47-
48- RUN pip3 install --no-cache-dir --upgrade --break-system-packages \
49- csvkit==2.1.0 \
50- && msg="$(pip3 list --outdated | grep -i -e '^csvkit ' || true)" \
51- && if [ -n "${msg}" ]; then \
52- >&2 echo "ERROR: outdated: ${msg}" ; \
53- exit 1 ; \
54- fi
You can’t perform that action at this time.
0 commit comments