Skip to content

Commit 88fc93a

Browse files
fix: Upgrade pip after installing system dependencies in Dockerfile
1 parent 7644e1d commit 88fc93a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile.pb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ 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-
18+
&& rm -rf /var/lib/apt/lists/* && \
19+
python3 -m pip install --upgrade pip
2020
# ==============================================================================
2121
# === GPU base image (CUDA + runtime-only Python & GDAL) =======================
2222
FROM nvidia/cuda:${CUDA_TAG} AS gpu-base

0 commit comments

Comments
 (0)