mirror of
https://github.com/ansible/awx.git
synced 2026-02-26 23:46:05 -03:30
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user