Skip to content

Commit 1564f5d

Browse files
committed
ugly but functional
1 parent 94a2c8e commit 1564f5d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Dockerfile.qa

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

2222
# install distutils.util
23-
RUN if [[ $PYTHON_VERSION =~ ^3.[67]$ ]] ; then \
23+
RUN if [ $PYTHON_VERSION = '3.7' ] ; then \
24+
apt-get install -y python$PYTHON_VERSION-distutils python3-distutils-extra python3-apt --reinstall ;\
25+
elif [ $PYTHON_VERSION = '3.6' ] ; then \
2426
apt-get install -y python$PYTHON_VERSION-distutils python3-distutils-extra python3-apt --reinstall ;\
2527
elif [ $PYTHON_VERSION != '3.10' ] ; then \
2628
apt-get install -y python3-distutils python3-distutils-extra python3-apt --reinstall ; \

0 commit comments

Comments
 (0)