pin virtualenv < 20 for ansible venv builds

virtualenv version 20 just got released and broken a bunch of stuff
(like the --system-site-packages flag)
This commit is contained in:
Ryan Petrello
2020-02-10 16:31:34 -05:00
parent f4f4a7caec
commit ad5d0b92db
2 changed files with 2 additions and 2 deletions

View File

@@ -2,7 +2,7 @@ ARG TAG=latest
FROM ansible/awx_devel:${TAG}
RUN yum install -y gcc python36-devel
RUN python3 -m ensurepip && pip3 install virtualenv ansible-runner
RUN python3 -m ensurepip && pip3 install "virtualenv < 20" ansible-runner
RUN yum remove -y gcc python36-devel && rm -rf /var/cache/yum
RUN rm -f /etc/ssh/ssh_host_ecdsa_key /etc/ssh/ssh_host_rsa_key