We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f003b1 commit 94a2c8eCopy full SHA for 94a2c8e
Dockerfile.qa
@@ -20,7 +20,7 @@ RUN apt-get install -y \
20
python3-pip
21
22
# install distutils.util
23
-RUN if [ $PYTHON_VERSION = '3.7' ] ; then \
+RUN if [[ $PYTHON_VERSION =~ ^3.[67]$ ]] ; then \
24
apt-get install -y python$PYTHON_VERSION-distutils python3-distutils-extra python3-apt --reinstall ;\
25
elif [ $PYTHON_VERSION != '3.10' ] ; then \
26
apt-get install -y python3-distutils python3-distutils-extra python3-apt --reinstall ; \
0 commit comments