Skip to content

Commit 27201c1

Browse files
add py3 interpreter path
1 parent 8d3efd5 commit 27201c1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

py23-image/redhat-8/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,5 @@ RUN microdnf -y --nodocs update \
99
&& ln -sf /usr/bin/pip3.8 /usr/bin/pip3 \
1010
&& ln -sf /usr/bin/python3.8 /usr/bin/python \
1111
&& ln -sf /usr/bin/pip3.8 /usr/bin/pip \
12-
&& pip3 install --upgrade requests==2.25.1 pyyaml==5.4.1 jmespath==0.10.0
12+
&& pip3 install --upgrade requests==2.25.1 pyyaml==5.4.1 jmespath==0.10.0 \
13+
&& sed -i '/^\[defaults\]/a\interpreter_python = /usr/bin/python3' /opt/ansible/ansible.cfg

0 commit comments

Comments
 (0)