aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/dockerfile
diff options
context:
space:
mode:
authorGravatar Mehrdad Afshari <mehrdada@users.noreply.github.com>2018-05-21 07:51:47 -0700
committerGravatar GitHub <noreply@github.com>2018-05-21 07:51:47 -0700
commit16ba9c2be7356d3b7d4ed2158684bcbf3bb648d8 (patch)
tree6cb6ad7d30220995b9113a246ecd1c20b68656d5 /tools/dockerfile
parentd8ded0bd3885976471364e90b454f3dc2e2f4ec5 (diff)
parentfba028ac6886fd53fc49d0106fe38d6e47b10cef (diff)
Merge pull request #15475 from mehrdada/alpine-linux-distribtest-for-python
Add Python distribtests for Alpine Linux
Diffstat (limited to 'tools/dockerfile')
-rw-r--r--tools/dockerfile/distribtest/python_dev_alpine3.7_x64/Dockerfile21
1 files changed, 21 insertions, 0 deletions
diff --git a/tools/dockerfile/distribtest/python_dev_alpine3.7_x64/Dockerfile b/tools/dockerfile/distribtest/python_dev_alpine3.7_x64/Dockerfile
new file mode 100644
index 0000000000..0fc3c31281
--- /dev/null
+++ b/tools/dockerfile/distribtest/python_dev_alpine3.7_x64/Dockerfile
@@ -0,0 +1,21 @@
+# Copyright 2018 The gRPC Authors
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+FROM alpine:3.7
+
+RUN apk add --update build-base python python-dev py-pip
+
+RUN pip install --upgrade pip
+
+RUN pip install virtualenv