spdk: upgrade pip (#7915)

For some reason, there's a local python3 installation on the
oss-fuzz-base image with a pretty old pip version, 19.2.3, which doesn't
have up-to-date wheel platform tags, so, when installing SPDK
dependencies, it tries to compile them instead of using the wheels. The
compilation fails on the grpcio package for some reason.

So, to resolve this, upgrade the local pip version when building the
SPDK image, so that it's able to fetch the pre-compiled packages.  This
is a workaround for #7914.
This commit is contained in:
Konrad Sztyber 2022-06-28 14:10:57 +02:00 committed by GitHub
parent e7af68a230
commit c39384b112
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -16,6 +16,7 @@
FROM gcr.io/oss-fuzz-base/base-builder
RUN apt-get update && apt-get install -y make curl yasm autoconf libtool meson nasm
RUN pip3 install --upgrade pip
RUN git clone --depth 1 https://github.com/spdk/spdk && \
cd spdk && \
git submodule update --init