Skip to content

Commit 6dc9f26

Browse files
committed
build(docker): pin setuptools to v70 (#284)
Fix packaging.version.InvalidVersion when installing the Python dependencies
1 parent 8523d8a commit 6dc9f26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ RUN apt-get update -y && \
2828
python3-dev \
2929
python3-pip \
3030
vim-tiny && \
31-
pip install --no-cache-dir --upgrade pip setuptools && \
31+
pip install --no-cache-dir --upgrade pip 'setuptools<71' && \
3232
pip install --no-cache-dir -r /code/requirements.txt && \
3333
apt-get remove -y \
3434
gcc \

0 commit comments

Comments
 (0)