Merge pull request #121 from infosiftr/seeing-double
Fix two versions of pip being installed, and add a basic test to ensure the pip version we request is the pip version we get
This commit is contained in:
commit
d037ec96ed
|
@ -33,6 +33,7 @@ RUN set -ex \
|
|||
&& ldconfig \
|
||||
&& curl -fSL 'https://bootstrap.pypa.io/get-pip.py' | python2 \
|
||||
&& pip install --no-cache-dir --upgrade pip==$PYTHON_PIP_VERSION \
|
||||
&& [ "$(pip list | awk -F '[ ()]+' '$1 == "pip" { print $2; exit }')" = "$PYTHON_PIP_VERSION" ] \
|
||||
&& find /usr/local -depth \
|
||||
\( \
|
||||
\( -type d -a -name test -o -name tests \) \
|
||||
|
|
|
@ -43,6 +43,7 @@ RUN set -ex \
|
|||
&& make install \
|
||||
&& curl -fSL 'https://bootstrap.pypa.io/get-pip.py' | python2 \
|
||||
&& pip install --no-cache-dir --upgrade pip==$PYTHON_PIP_VERSION \
|
||||
&& [ "$(pip list | awk -F '[ ()]+' '$1 == "pip" { print $2; exit }')" = "$PYTHON_PIP_VERSION" ] \
|
||||
&& find /usr/local -depth \
|
||||
\( \
|
||||
\( -type d -a -name test -o -name tests \) \
|
||||
|
|
|
@ -53,6 +53,7 @@ RUN set -ex \
|
|||
&& ldconfig \
|
||||
&& curl -fSL 'https://bootstrap.pypa.io/get-pip.py' | python2 \
|
||||
&& pip install --no-cache-dir --upgrade pip==$PYTHON_PIP_VERSION \
|
||||
&& [ "$(pip list | awk -F '[ ()]+' '$1 == "pip" { print $2; exit }')" = "$PYTHON_PIP_VERSION" ] \
|
||||
&& find /usr/local -depth \
|
||||
\( \
|
||||
\( -type d -a -name test -o -name tests \) \
|
||||
|
|
|
@ -33,6 +33,7 @@ RUN set -ex \
|
|||
&& ldconfig \
|
||||
&& curl -fSL 'https://bootstrap.pypa.io/get-pip.py' | python2 \
|
||||
&& pip install --no-cache-dir --upgrade pip==$PYTHON_PIP_VERSION \
|
||||
&& [ "$(pip list | awk -F '[ ()]+' '$1 == "pip" { print $2; exit }')" = "$PYTHON_PIP_VERSION" ] \
|
||||
&& find /usr/local -depth \
|
||||
\( \
|
||||
\( -type d -a -name test -o -name tests \) \
|
||||
|
|
|
@ -33,6 +33,7 @@ RUN set -ex \
|
|||
&& ldconfig \
|
||||
&& curl -fSL 'https://bootstrap.pypa.io/get-pip.py' | python3 \
|
||||
&& pip install --no-cache-dir --upgrade pip==$PYTHON_PIP_VERSION \
|
||||
&& [ "$(pip list | awk -F '[ ()]+' '$1 == "pip" { print $2; exit }')" = "$PYTHON_PIP_VERSION" ] \
|
||||
&& find /usr/local -depth \
|
||||
\( \
|
||||
\( -type d -a -name test -o -name tests \) \
|
||||
|
|
|
@ -44,6 +44,7 @@ RUN set -ex \
|
|||
&& make install \
|
||||
&& curl -fSL 'https://bootstrap.pypa.io/get-pip.py' | python3 \
|
||||
&& pip install --no-cache-dir --upgrade pip==$PYTHON_PIP_VERSION \
|
||||
&& [ "$(pip list | awk -F '[ ()]+' '$1 == "pip" { print $2; exit }')" = "$PYTHON_PIP_VERSION" ] \
|
||||
&& find /usr/local -depth \
|
||||
\( \
|
||||
\( -type d -a -name test -o -name tests \) \
|
||||
|
|
|
@ -54,6 +54,7 @@ RUN set -ex \
|
|||
&& ldconfig \
|
||||
&& curl -fSL 'https://bootstrap.pypa.io/get-pip.py' | python3 \
|
||||
&& pip install --no-cache-dir --upgrade pip==$PYTHON_PIP_VERSION \
|
||||
&& [ "$(pip list | awk -F '[ ()]+' '$1 == "pip" { print $2; exit }')" = "$PYTHON_PIP_VERSION" ] \
|
||||
&& find /usr/local -depth \
|
||||
\( \
|
||||
\( -type d -a -name test -o -name tests \) \
|
||||
|
|
|
@ -33,6 +33,7 @@ RUN set -ex \
|
|||
&& ldconfig \
|
||||
&& curl -fSL 'https://bootstrap.pypa.io/get-pip.py' | python3 \
|
||||
&& pip install --no-cache-dir --upgrade pip==$PYTHON_PIP_VERSION \
|
||||
&& [ "$(pip list | awk -F '[ ()]+' '$1 == "pip" { print $2; exit }')" = "$PYTHON_PIP_VERSION" ] \
|
||||
&& find /usr/local -depth \
|
||||
\( \
|
||||
\( -type d -a -name test -o -name tests \) \
|
||||
|
|
|
@ -31,7 +31,8 @@ RUN set -ex \
|
|||
&& make -j$(nproc) \
|
||||
&& make install \
|
||||
&& ldconfig \
|
||||
&& pip3 install --no-cache-dir --upgrade --ignore-installed pip==$PYTHON_PIP_VERSION \
|
||||
&& pip3 install --no-cache-dir --upgrade pip==$PYTHON_PIP_VERSION \
|
||||
&& [ "$(pip list | awk -F '[ ()]+' '$1 == "pip" { print $2; exit }')" = "$PYTHON_PIP_VERSION" ] \
|
||||
&& find /usr/local -depth \
|
||||
\( \
|
||||
\( -type d -a -name test -o -name tests \) \
|
||||
|
|
|
@ -43,7 +43,8 @@ RUN set -ex \
|
|||
&& ./configure --enable-shared --enable-unicode=ucs4 \
|
||||
&& make -j$(getconf _NPROCESSORS_ONLN) \
|
||||
&& make install \
|
||||
&& pip3 install --no-cache-dir --upgrade --ignore-installed pip==$PYTHON_PIP_VERSION \
|
||||
&& pip3 install --no-cache-dir --upgrade pip==$PYTHON_PIP_VERSION \
|
||||
&& [ "$(pip list | awk -F '[ ()]+' '$1 == "pip" { print $2; exit }')" = "$PYTHON_PIP_VERSION" ] \
|
||||
&& find /usr/local -depth \
|
||||
\( \
|
||||
\( -type d -a -name test -o -name tests \) \
|
||||
|
|
|
@ -52,7 +52,8 @@ RUN set -ex \
|
|||
&& make -j$(nproc) \
|
||||
&& make install \
|
||||
&& ldconfig \
|
||||
&& pip3 install --no-cache-dir --upgrade --ignore-installed pip==$PYTHON_PIP_VERSION \
|
||||
&& pip3 install --no-cache-dir --upgrade pip==$PYTHON_PIP_VERSION \
|
||||
&& [ "$(pip list | awk -F '[ ()]+' '$1 == "pip" { print $2; exit }')" = "$PYTHON_PIP_VERSION" ] \
|
||||
&& find /usr/local -depth \
|
||||
\( \
|
||||
\( -type d -a -name test -o -name tests \) \
|
||||
|
|
|
@ -31,7 +31,8 @@ RUN set -ex \
|
|||
&& make -j$(nproc) \
|
||||
&& make install \
|
||||
&& ldconfig \
|
||||
&& pip3 install --no-cache-dir --upgrade --ignore-installed pip==$PYTHON_PIP_VERSION \
|
||||
&& pip3 install --no-cache-dir --upgrade pip==$PYTHON_PIP_VERSION \
|
||||
&& [ "$(pip list | awk -F '[ ()]+' '$1 == "pip" { print $2; exit }')" = "$PYTHON_PIP_VERSION" ] \
|
||||
&& find /usr/local -depth \
|
||||
\( \
|
||||
\( -type d -a -name test -o -name tests \) \
|
||||
|
|
|
@ -31,7 +31,8 @@ RUN set -ex \
|
|||
&& make -j$(nproc) \
|
||||
&& make install \
|
||||
&& ldconfig \
|
||||
&& pip3 install --no-cache-dir --upgrade --ignore-installed pip==$PYTHON_PIP_VERSION \
|
||||
&& pip3 install --no-cache-dir --upgrade pip==$PYTHON_PIP_VERSION \
|
||||
&& [ "$(pip list | awk -F '[ ()]+' '$1 == "pip" { print $2; exit }')" = "$PYTHON_PIP_VERSION" ] \
|
||||
&& find /usr/local -depth \
|
||||
\( \
|
||||
\( -type d -a -name test -o -name tests \) \
|
||||
|
|
|
@ -43,7 +43,8 @@ RUN set -ex \
|
|||
&& ./configure --enable-shared --enable-unicode=ucs4 \
|
||||
&& make -j$(getconf _NPROCESSORS_ONLN) \
|
||||
&& make install \
|
||||
&& pip3 install --no-cache-dir --upgrade --ignore-installed pip==$PYTHON_PIP_VERSION \
|
||||
&& pip3 install --no-cache-dir --upgrade pip==$PYTHON_PIP_VERSION \
|
||||
&& [ "$(pip list | awk -F '[ ()]+' '$1 == "pip" { print $2; exit }')" = "$PYTHON_PIP_VERSION" ] \
|
||||
&& find /usr/local -depth \
|
||||
\( \
|
||||
\( -type d -a -name test -o -name tests \) \
|
||||
|
|
|
@ -52,7 +52,8 @@ RUN set -ex \
|
|||
&& make -j$(nproc) \
|
||||
&& make install \
|
||||
&& ldconfig \
|
||||
&& pip3 install --no-cache-dir --upgrade --ignore-installed pip==$PYTHON_PIP_VERSION \
|
||||
&& pip3 install --no-cache-dir --upgrade pip==$PYTHON_PIP_VERSION \
|
||||
&& [ "$(pip list | awk -F '[ ()]+' '$1 == "pip" { print $2; exit }')" = "$PYTHON_PIP_VERSION" ] \
|
||||
&& find /usr/local -depth \
|
||||
\( \
|
||||
\( -type d -a -name test -o -name tests \) \
|
||||
|
|
Loading…
Reference in New Issue