Skip to content

Commit 94a2c8e

Browse files
committed
pipeline fix for python 3.6 & 3.7
1 parent 6f003b1 commit 94a2c8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile.qa

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ RUN apt-get install -y \
2020
python3-pip
2121

2222
# install distutils.util
23-
RUN if [ $PYTHON_VERSION = '3.7' ] ; then \
23+
RUN if [[ $PYTHON_VERSION =~ ^3.[67]$ ]] ; then \
2424
apt-get install -y python$PYTHON_VERSION-distutils python3-distutils-extra python3-apt --reinstall ;\
2525
elif [ $PYTHON_VERSION != '3.10' ] ; then \
2626
apt-get install -y python3-distutils python3-distutils-extra python3-apt --reinstall ; \

0 commit comments

Comments
 (0)