From e99b3686a4d110aade9f18656c8b082bc30d93fb Mon Sep 17 00:00:00 2001 From: Adrian Gonzalez-Martin Date: Tue, 11 Jul 2023 09:09:10 +0100 Subject: [PATCH] Fix 3.7 build (#5011) --- wrappers/s2i/python/Dockerfile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/wrappers/s2i/python/Dockerfile b/wrappers/s2i/python/Dockerfile index e3e7a58fe5..f8f464c4c6 100644 --- a/wrappers/s2i/python/Dockerfile +++ b/wrappers/s2i/python/Dockerfile @@ -19,10 +19,8 @@ RUN wget -O certifi-python-certifi.tar.gz https://github.com/certifi/python-cert RUN microdnf update -y && \ microdnf install -y make automake gcc gcc-c++ && \ - conda install -c conda-forge --yes python=$PYTHON_VERSION conda=$CONDA_VERSION - -# Pin pip and setuptools -RUN pip install pip==22.1.2 setuptools==65.5.1 + conda install -c conda-forge --yes python=$PYTHON_VERSION conda=$CONDA_VERSION && \ + pip install --upgrade pip setuptools wheel RUN mkdir microservice WORKDIR /microservice