fixed Python (virtualenv) installation

Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/21266037
Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/21266037
Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/21266037

Branch: refs/heads/TINKERPOP-1731
Commit: 2126603775d9232317fbf6841969250dc7a26d6b
Parents: 9a69516
Author: Daniel Kuppitz <daniel_kupp...@hotmail.com>
Authored: Mon Sep 18 11:11:49 2017 -0700
Committer: Stephen Mallette <sp...@genoprime.com>
Committed: Wed Sep 20 10:51:02 2017 -0400

----------------------------------------------------------------------
 docker/Dockerfile                | 5 ++++-
 docker/build/Dockerfile.template | 1 -
 2 files changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/21266037/docker/Dockerfile
----------------------------------------------------------------------
diff --git a/docker/Dockerfile b/docker/Dockerfile
index 3e7ca42..35dd35e 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -26,7 +26,10 @@ RUN apt-get update \
     && sh -c 'echo "deb [arch=amd64] 
https://apt-mo.trafficmanager.net/repos/dotnet-release/ trusty main" > 
/etc/apt/sources.list.d/dotnetdev.list' \
     && apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 
417A0893 \
     && apt-get update \
-    && apt-get install -y oracle-java8-installer curl gawk git maven 
openssh-server dotnet-dev-1.0.4 \
+    && apt-get install -y oracle-java8-installer curl gawk git maven 
openssh-server dotnet-dev-1.0.4 subversion \
+    && apt-get install -y python python-dev python-pip build-essential \
+    && pip install virtualenv virtualenvwrapper \
+    && pip install --upgrade pip \
     && rm -rf /var/lib/apt/lists/* /var/cache/oracle-jdk8-installer
 
 RUN sed -i 's@PermitRootLogin without-password@PermitRootLogin yes@' 
/etc/ssh/sshd_config

http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/21266037/docker/build/Dockerfile.template
----------------------------------------------------------------------
diff --git a/docker/build/Dockerfile.template b/docker/build/Dockerfile.template
index 8364884..84f551d 100644
--- a/docker/build/Dockerfile.template
+++ b/docker/build/Dockerfile.template
@@ -18,6 +18,5 @@
 FROM tinkerpop:hadoop-HADOOP_VERSION
 
 RUN mkdir -p /usr/src/tinkerpop
-RUN curl -s https://bootstrap.pypa.io/ez_setup.py | python
 WORKDIR /usr/src/tinkerpop
 COPY . /usr/src/tinkerpop

Reply via email to