File tree Expand file tree Collapse file tree 15 files changed +22
-7
lines changed Expand file tree Collapse file tree 15 files changed +22
-7
lines changed Original file line number Diff line number Diff line change @@ -33,6 +33,7 @@ RUN set -ex \
33
33
&& ldconfig \
34
34
&& curl -fSL 'https://bootstrap.pypa.io/get-pip.py' | python2 \
35
35
&& pip install --no-cache-dir --upgrade pip==$PYTHON_PIP_VERSION \
36
+ && [ "$(pip list | awk -F '[ ()]+' '$1 == " pip" { print $2; exit }')" = "$PYTHON_PIP_VERSION" ] \
36
37
&& find /usr/local -depth \
37
38
\( \
38
39
\( -type d -a -name test -o -name tests \) \
Original file line number Diff line number Diff line change @@ -43,6 +43,7 @@ RUN set -ex \
43
43
&& make install \
44
44
&& curl -fSL 'https://bootstrap.pypa.io/get-pip.py' | python2 \
45
45
&& pip install --no-cache-dir --upgrade pip==$PYTHON_PIP_VERSION \
46
+ && [ "$(pip list | awk -F '[ ()]+' '$1 == " pip" { print $2; exit }')" = "$PYTHON_PIP_VERSION" ] \
46
47
&& find /usr/local -depth \
47
48
\( \
48
49
\( -type d -a -name test -o -name tests \) \
Original file line number Diff line number Diff line change @@ -53,6 +53,7 @@ RUN set -ex \
53
53
&& ldconfig \
54
54
&& curl -fSL 'https://bootstrap.pypa.io/get-pip.py' | python2 \
55
55
&& pip install --no-cache-dir --upgrade pip==$PYTHON_PIP_VERSION \
56
+ && [ "$(pip list | awk -F '[ ()]+' '$1 == " pip" { print $2; exit }')" = "$PYTHON_PIP_VERSION" ] \
56
57
&& find /usr/local -depth \
57
58
\( \
58
59
\( -type d -a -name test -o -name tests \) \
Original file line number Diff line number Diff line change @@ -33,6 +33,7 @@ RUN set -ex \
33
33
&& ldconfig \
34
34
&& curl -fSL 'https://bootstrap.pypa.io/get-pip.py' | python2 \
35
35
&& pip install --no-cache-dir --upgrade pip==$PYTHON_PIP_VERSION \
36
+ && [ "$(pip list | awk -F '[ ()]+' '$1 == " pip" { print $2; exit }')" = "$PYTHON_PIP_VERSION" ] \
36
37
&& find /usr/local -depth \
37
38
\( \
38
39
\( -type d -a -name test -o -name tests \) \
Original file line number Diff line number Diff line change @@ -33,6 +33,7 @@ RUN set -ex \
33
33
&& ldconfig \
34
34
&& curl -fSL 'https://bootstrap.pypa.io/get-pip.py' | python3 \
35
35
&& pip install --no-cache-dir --upgrade pip==$PYTHON_PIP_VERSION \
36
+ && [ "$(pip list | awk -F '[ ()]+' '$1 == " pip" { print $2; exit }')" = "$PYTHON_PIP_VERSION" ] \
36
37
&& find /usr/local -depth \
37
38
\( \
38
39
\( -type d -a -name test -o -name tests \) \
Original file line number Diff line number Diff line change @@ -44,6 +44,7 @@ RUN set -ex \
44
44
&& make install \
45
45
&& curl -fSL 'https://bootstrap.pypa.io/get-pip.py' | python3 \
46
46
&& pip install --no-cache-dir --upgrade pip==$PYTHON_PIP_VERSION \
47
+ && [ "$(pip list | awk -F '[ ()]+' '$1 == " pip" { print $2; exit }')" = "$PYTHON_PIP_VERSION" ] \
47
48
&& find /usr/local -depth \
48
49
\( \
49
50
\( -type d -a -name test -o -name tests \) \
Original file line number Diff line number Diff line change @@ -54,6 +54,7 @@ RUN set -ex \
54
54
&& ldconfig \
55
55
&& curl -fSL 'https://bootstrap.pypa.io/get-pip.py' | python3 \
56
56
&& pip install --no-cache-dir --upgrade pip==$PYTHON_PIP_VERSION \
57
+ && [ "$(pip list | awk -F '[ ()]+' '$1 == " pip" { print $2; exit }')" = "$PYTHON_PIP_VERSION" ] \
57
58
&& find /usr/local -depth \
58
59
\( \
59
60
\( -type d -a -name test -o -name tests \) \
Original file line number Diff line number Diff line change @@ -33,6 +33,7 @@ RUN set -ex \
33
33
&& ldconfig \
34
34
&& curl -fSL 'https://bootstrap.pypa.io/get-pip.py' | python3 \
35
35
&& pip install --no-cache-dir --upgrade pip==$PYTHON_PIP_VERSION \
36
+ && [ "$(pip list | awk -F '[ ()]+' '$1 == " pip" { print $2; exit }')" = "$PYTHON_PIP_VERSION" ] \
36
37
&& find /usr/local -depth \
37
38
\( \
38
39
\( -type d -a -name test -o -name tests \) \
Original file line number Diff line number Diff line change @@ -31,7 +31,8 @@ RUN set -ex \
31
31
&& make -j$(nproc) \
32
32
&& make install \
33
33
&& ldconfig \
34
- && pip3 install --no-cache-dir --upgrade --ignore-installed pip==$PYTHON_PIP_VERSION \
34
+ && pip3 install --no-cache-dir --upgrade pip==$PYTHON_PIP_VERSION \
35
+ && [ "$(pip list | awk -F '[ ()]+' '$1 == " pip" { print $2; exit }')" = "$PYTHON_PIP_VERSION" ] \
35
36
&& find /usr/local -depth \
36
37
\( \
37
38
\( -type d -a -name test -o -name tests \) \
Original file line number Diff line number Diff line change @@ -43,7 +43,8 @@ RUN set -ex \
43
43
&& ./configure --enable-shared --enable-unicode=ucs4 \
44
44
&& make -j$(getconf _NPROCESSORS_ONLN) \
45
45
&& make install \
46
- && pip3 install --no-cache-dir --upgrade --ignore-installed pip==$PYTHON_PIP_VERSION \
46
+ && pip3 install --no-cache-dir --upgrade pip==$PYTHON_PIP_VERSION \
47
+ && [ "$(pip list | awk -F '[ ()]+' '$1 == " pip" { print $2; exit }')" = "$PYTHON_PIP_VERSION" ] \
47
48
&& find /usr/local -depth \
48
49
\( \
49
50
\( -type d -a -name test -o -name tests \) \
Original file line number Diff line number Diff line change @@ -52,7 +52,8 @@ RUN set -ex \
52
52
&& make -j$(nproc) \
53
53
&& make install \
54
54
&& ldconfig \
55
- && pip3 install --no-cache-dir --upgrade --ignore-installed pip==$PYTHON_PIP_VERSION \
55
+ && pip3 install --no-cache-dir --upgrade pip==$PYTHON_PIP_VERSION \
56
+ && [ "$(pip list | awk -F '[ ()]+' '$1 == " pip" { print $2; exit }')" = "$PYTHON_PIP_VERSION" ] \
56
57
&& find /usr/local -depth \
57
58
\( \
58
59
\( -type d -a -name test -o -name tests \) \
Original file line number Diff line number Diff line change @@ -31,7 +31,8 @@ RUN set -ex \
31
31
&& make -j$(nproc) \
32
32
&& make install \
33
33
&& ldconfig \
34
- && pip3 install --no-cache-dir --upgrade --ignore-installed pip==$PYTHON_PIP_VERSION \
34
+ && pip3 install --no-cache-dir --upgrade pip==$PYTHON_PIP_VERSION \
35
+ && [ "$(pip list | awk -F '[ ()]+' '$1 == " pip" { print $2; exit }')" = "$PYTHON_PIP_VERSION" ] \
35
36
&& find /usr/local -depth \
36
37
\( \
37
38
\( -type d -a -name test -o -name tests \) \
Original file line number Diff line number Diff line change @@ -31,7 +31,8 @@ RUN set -ex \
31
31
&& make -j$(nproc) \
32
32
&& make install \
33
33
&& ldconfig \
34
- && pip3 install --no-cache-dir --upgrade --ignore-installed pip==$PYTHON_PIP_VERSION \
34
+ && pip3 install --no-cache-dir --upgrade pip==$PYTHON_PIP_VERSION \
35
+ && [ "$(pip list | awk -F '[ ()]+' '$1 == " pip" { print $2; exit }')" = "$PYTHON_PIP_VERSION" ] \
35
36
&& find /usr/local -depth \
36
37
\( \
37
38
\( -type d -a -name test -o -name tests \) \
Original file line number Diff line number Diff line change @@ -43,7 +43,8 @@ RUN set -ex \
43
43
&& ./configure --enable-shared --enable-unicode=ucs4 \
44
44
&& make -j$(getconf _NPROCESSORS_ONLN) \
45
45
&& make install \
46
- && pip3 install --no-cache-dir --upgrade --ignore-installed pip==$PYTHON_PIP_VERSION \
46
+ && pip3 install --no-cache-dir --upgrade pip==$PYTHON_PIP_VERSION \
47
+ && [ "$(pip list | awk -F '[ ()]+' '$1 == " pip" { print $2; exit }')" = "$PYTHON_PIP_VERSION" ] \
47
48
&& find /usr/local -depth \
48
49
\( \
49
50
\( -type d -a -name test -o -name tests \) \
Original file line number Diff line number Diff line change @@ -52,7 +52,8 @@ RUN set -ex \
52
52
&& make -j$(nproc) \
53
53
&& make install \
54
54
&& ldconfig \
55
- && pip3 install --no-cache-dir --upgrade --ignore-installed pip==$PYTHON_PIP_VERSION \
55
+ && pip3 install --no-cache-dir --upgrade pip==$PYTHON_PIP_VERSION \
56
+ && [ "$(pip list | awk -F '[ ()]+' '$1 == " pip" { print $2; exit }')" = "$PYTHON_PIP_VERSION" ] \
56
57
&& find /usr/local -depth \
57
58
\( \
58
59
\( -type d -a -name test -o -name tests \) \
You can’t perform that action at this time.
0 commit comments