Skip to content

Commit 6f1c2b7

Browse files
committed
Add setuptools different from python3
1 parent d2d9664 commit 6f1c2b7

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Dockerfile.qa

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,13 @@ RUN if [ $PYTHON_VERSION = '3.7' ] ; then \
3131
curl -sS https://bootstrap.pypa.io/get-pip.py | python3.10 ; \
3232
fi
3333

34+
# install setuptools
35+
RUN if [ $PYTHON_VERSION = '2.7' ] ; then \
36+
apt-get install python-setuptools
37+
else \
38+
apt-get install python3-setuptools
39+
fi
40+
3441
# Register the version in alternatives
3542
RUN update-alternatives --install /usr/bin/python3 python3 /usr/bin/python$PYTHON_VERSION 1
3643

0 commit comments

Comments
 (0)