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

@@ -78,7 +78,7 @@ RUN openssl req -nodes -newkey rsa:2048 -keyout /etc/nginx/nginx.key -out /etc/n
RUN openssl x509 -req -days 365 -in /etc/nginx/nginx.csr -signkey /etc/nginx/nginx.key -out /etc/nginx/nginx.crt
RUN chmod 640 /etc/nginx/nginx.{csr,key,crt}
RUN python3 -m ensurepip && pip3 install virtualenv flake8
RUN python3 -m ensurepip && pip3 install "virtualenv < 20" flake8
RUN pip3 install supervisor
ADD Makefile /tmp/Makefile