fix(python): removed python3.9 as it as causing issues with 3.11 #116

Merged
jon_nfc merged 1 commits from 9-fix-remove-python3 into development 2023-07-31 20:55:25 +00:00

View File

@ -48,14 +48,15 @@ RUN apt update \
openssh-client \
git \
sshpass \
&& rm -rf /var/lib/apt/lists/* \
&& mkdir -p /etc/ansible/roles \
&& mkdir -p /etc/ansible/collections \
&& mkdir -p /workdir \
&& apt list --installed \
# see issue https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/issues/9 for following two lines
&& rm /usr/bin/python3 \
&& ln -s /usr/local/bin/python3.11 /usr/bin/python3
&& apt remove -y \
python3* \
libpython3* \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /workdir