summaryrefslogtreecommitdiffstats
path: root/tools/docker-isolated/Dockerfile
diff options
context:
space:
mode:
authorAuthor: Jim Ladd <jladd@redhat.com>2019-01-05 01:15:14 +0100
committerRyan Petrello <rpetrell@redhat.com>2019-01-15 20:09:05 +0100
commit2c5bdf361150d791f1d44e707c671874533be978 (patch)
treef6fc227a2b47af7e5e4a7bbe4d8e88517b41175c /tools/docker-isolated/Dockerfile
parentremove dm.xmlsec.binding (diff)
downloadawx-2c5bdf361150d791f1d44e707c671874533be978.tar.xz
awx-2c5bdf361150d791f1d44e707c671874533be978.zip
fix some isolated py3 bugs
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