aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates/tools/dockerfile/python_deps.include
diff options
context:
space:
mode:
authorGravatar Jan Tattermusch <jtattermusch@google.com>2016-02-07 14:30:43 -0800
committerGravatar Jan Tattermusch <jtattermusch@google.com>2016-02-08 17:23:01 -0800
commita810876732fb797cc572314a3c0ec2a820ace7b9 (patch)
treea9db23e9b60e4c40239f0c5b2d29a2ad9a845e07 /templates/tools/dockerfile/python_deps.include
parent0618f272c07f73c524583f7f3e54ee586b983b86 (diff)
dockerfile refactoring
Diffstat (limited to 'templates/tools/dockerfile/python_deps.include')
-rw-r--r--templates/tools/dockerfile/python_deps.include14
1 files changed, 14 insertions, 0 deletions
diff --git a/templates/tools/dockerfile/python_deps.include b/templates/tools/dockerfile/python_deps.include
new file mode 100644
index 0000000000..a559f96394
--- /dev/null
+++ b/templates/tools/dockerfile/python_deps.include
@@ -0,0 +1,14 @@
+#====================
+# Python dependencies
+
+# Install dependencies
+
+RUN apt-get update && apt-get install -y ${'\\'}
+ python-all-dev ${'\\'}
+ python3-all-dev ${'\\'}
+ python-pip
+
+# Install Python packages from PyPI
+RUN pip install pip --upgrade
+RUN pip install virtualenv
+RUN pip install futures==2.2.0 enum34==1.0.4 protobuf==3.0.0a2 tox