aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Konrad Sztyber <konrad.sztyber@gmail.com>2022-06-28 14:10:57 +0200
committerGravatar GitHub <noreply@github.com>2022-06-28 13:10:57 +0100
commitc39384b1125237fcd92fdb35881d196892970a06 (patch)
tree5eda18eac7f9be82f309b213627135bb8366fe8f
parente7af68a230d7d64407203c0ffd5c9ee1af75edb3 (diff)
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.
-rw-r--r--projects/spdk/Dockerfile1
1 files changed, 1 insertions, 0 deletions
diff --git a/projects/spdk/Dockerfile b/projects/spdk/Dockerfile
index 9ac85748..951bf604 100644
--- a/projects/spdk/Dockerfile
+++ b/projects/spdk/Dockerfile
@@ -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