aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates/tools/dockerfile/test/python_pyenv_x64
diff options
context:
space:
mode:
authorGravatar Matt Kwong <mattkwong@google.com>2018-05-08 14:16:44 -0700
committerGravatar Matt Kwong <mattkwong@google.com>2018-05-08 14:16:44 -0700
commit4d5200f99a2824ff91357328d88395f76f6649f2 (patch)
treeef5c2d6dd9bf4e1a430a419cc697b52c16aad2de /templates/tools/dockerfile/test/python_pyenv_x64
parent924419f56cb03089568a5b59a95e48505f0148b5 (diff)
Install pip for Python3.4 in all Dockerfiles used for Python testing
Diffstat (limited to 'templates/tools/dockerfile/test/python_pyenv_x64')
-rw-r--r--templates/tools/dockerfile/test/python_pyenv_x64/Dockerfile.template4
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/tools/dockerfile/test/python_pyenv_x64/Dockerfile.template b/templates/tools/dockerfile/test/python_pyenv_x64/Dockerfile.template
index 0df19f61e1..ba65c06a3b 100644
--- a/templates/tools/dockerfile/test/python_pyenv_x64/Dockerfile.template
+++ b/templates/tools/dockerfile/test/python_pyenv_x64/Dockerfile.template
@@ -20,6 +20,10 @@
<%include file="../../gcp_api_libraries.include"/>
<%include file="../../python_deps.include"/>
<%include file="../../apt_get_pyenv.include"/>
+ # Install pip and virtualenv for Python 3.4
+ RUN curl https://bootstrap.pypa.io/get-pip.py | python3.4
+ RUN python3.4 -m pip install virtualenv
+
<%include file="../../run_tests_addons.include"/>
# Define the default command.
CMD ["bash"]