File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -15,8 +15,7 @@ RUN apt-get update && \
1515 apt-get install -y --no-install-recommends \
1616 build-essential gcc g++ python3-dev python3-rtree \
1717 gdal-bin libgdal-dev python3-gdal python3-opencv libspatialindex-dev \
18- && rm -rf /var/lib/apt/lists/* && \
19- python3 -m pip install --upgrade pip
18+ && rm -rf /var/lib/apt/lists/*
2019# ==============================================================================
2120# === GPU base image (CUDA + runtime-only Python & GDAL) =======================
2221FROM nvidia/cuda:${CUDA_TAG} AS gpu-base
@@ -25,7 +24,8 @@ RUN apt-get update && \
2524 apt-get install -y --no-install-recommends \
2625 python3 python3-pip build-essential gcc g++ python3-dev python3-rtree \
2726 gdal-bin libgdal-dev python3-gdal python3-opencv libspatialindex-dev \
28- && rm -rf /var/lib/apt/lists/*
27+ && rm -rf /var/lib/apt/lists/* && \
28+ python3 -m pip install --upgrade pip
2929
3030# ==============================================================================
3131# === Builder stage (installs everything) ======================================
You can’t perform that action at this time.
0 commit comments