Commit ab2376f0 authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

Dockerfiles for images based on Python 3.10:

- Fixed versions of pip, setuptools, wheel, pip-tools, as there is an update on pip>25.2 forcing pep_517
parent c68f0fc9
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -31,9 +31,9 @@ RUN GRPC_HEALTH_PROBE_VERSION=v0.2.0 && \
    chmod +x /bin/grpc_health_probe

# Get generic Python packages
RUN python3 -m pip install --upgrade pip
RUN python3 -m pip install --upgrade setuptools wheel
RUN python3 -m pip install --upgrade pip-tools
RUN python3 -m pip install --upgrade 'pip==25.2'
RUN python3 -m pip install --upgrade 'setuptools==79.0.0' 'wheel==0.45.1'
RUN python3 -m pip install --upgrade 'pip-tools==7.3.0'

# Get common Python packages
# Note: this step enables sharing the previous Docker build steps among all the Python components
+3 −3
Original line number Diff line number Diff line
@@ -18,9 +18,9 @@ FROM python:3.10.16-slim
ENV PYTHONUNBUFFERED=0

# Get Python dependencies
RUN python3 -m pip install --upgrade pip
RUN python3 -m pip install --upgrade setuptools wheel
RUN python3 -m pip install --upgrade pip-tools
RUN python3 -m pip install --upgrade 'pip==25.2'
RUN python3 -m pip install --upgrade 'setuptools==79.0.0' 'wheel==0.45.1'
RUN python3 -m pip install --upgrade 'pip-tools==7.3.0'

# Create component sub-folders, and get requirements
RUN mkdir -p /var/mock_osm_nbi