aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/dockerfile/distribtest
diff options
context:
space:
mode:
authorGravatar Mehrdad Afshari <mmx@google.com>2018-05-20 15:20:29 -0700
committerGravatar Mehrdad Afshari <mmx@google.com>2018-05-20 15:20:29 -0700
commitfba028ac6886fd53fc49d0106fe38d6e47b10cef (patch)
tree8ba4db3083cc3c7f6e0fc885d8f179c22b1926be /tools/dockerfile/distribtest
parent9723e7d41e79dad32e4a37e3a8cb367e68e5cb71 (diff)
Add Python distribtests for Alpine Linux
This is especially important as Alpine uses `musl` instead of `glibc` and requires a source build for gRPC Python.
Diffstat (limited to 'tools/dockerfile/distribtest')
-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