summaryrefslogtreecommitdiffstats
path: root/tools/docker-isolated/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tools/docker-isolated/Dockerfile7
1 files changed, 5 insertions, 2 deletions
diff --git a/tools/docker-isolated/Dockerfile b/tools/docker-isolated/Dockerfile
index 4e65a48f95..072915e3b8 100644
--- a/tools/docker-isolated/Dockerfile
+++ b/tools/docker-isolated/Dockerfile
@@ -5,8 +5,11 @@ ADD Makefile /tmp/Makefile
RUN mkdir /tmp/requirements
ADD requirements/requirements_ansible.txt requirements/requirements_ansible_git.txt requirements/requirements_ansible_uninstall.txt requirements/requirements_isolated.txt /tmp/requirements/
RUN yum -y update && yum -y install curl epel-release
-RUN yum -y update && yum -y install openssh-server ansible mg vim tmux git python-devel python-psycopg2 make python-psutil libxml2-devel libxslt-devel libstdc++.so.6 gcc cyrus-sasl-devel cyrus-sasl openldap-devel libffi-devel zeromq-devel python-pip xmlsec1-devel swig krb5-devel xmlsec1-openssl xmlsec1 xmlsec1-openssl-devel libtool-ltdl-devel bubblewrap zanata-python-client gettext gcc-c++ libcurl-devel python-pycurl bzip2
-RUN pip install virtualenv
+RUN yum -y update && yum -y install openssh-server ansible mg vim tmux git python-devel python36 python36-devel python-psycopg2 make python-psutil libxml2-devel libxslt-devel libstdc++.so.6 gcc cyrus-sasl-devel cyrus-sasl openldap-devel libffi-devel zeromq-devel python-pip xmlsec1-devel swig krb5-devel xmlsec1-openssl xmlsec1 xmlsec1-openssl-devel libtool-ltdl-devel bubblewrap zanata-python-client gettext gcc-c++ libcurl-devel python-pycurl bzip2
+
+RUN ln -s /usr/bin/python36 /usr/bin/python3
+RUN python36 -m ensurepip
+RUN pip3 install virtualenv
WORKDIR /tmp
RUN make requirements_ansible
RUN make requirements_isolated