diff options
author | Mehrdad Afshari <mehrdada@users.noreply.github.com> | 2018-05-21 07:51:47 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-21 07:51:47 -0700 |
commit | 16ba9c2be7356d3b7d4ed2158684bcbf3bb648d8 (patch) | |
tree | 6cb6ad7d30220995b9113a246ecd1c20b68656d5 | |
parent | d8ded0bd3885976471364e90b454f3dc2e2f4ec5 (diff) | |
parent | fba028ac6886fd53fc49d0106fe38d6e47b10cef (diff) |
Merge pull request #15475 from mehrdada/alpine-linux-distribtest-for-python
Add Python distribtests for Alpine Linux
-rw-r--r-- | tools/dockerfile/distribtest/python_dev_alpine3.7_x64/Dockerfile | 21 | ||||
-rw-r--r-- | tools/run_tests/artifacts/distribtest_targets.py | 1 |
2 files changed, 22 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 diff --git a/tools/run_tests/artifacts/distribtest_targets.py b/tools/run_tests/artifacts/distribtest_targets.py index 80adc20184..213325439e 100644 --- a/tools/run_tests/artifacts/distribtest_targets.py +++ b/tools/run_tests/artifacts/distribtest_targets.py @@ -327,6 +327,7 @@ def targets(): PythonDistribTest('linux', 'x64', 'ubuntu1204'), PythonDistribTest('linux', 'x64', 'ubuntu1404'), PythonDistribTest('linux', 'x64', 'ubuntu1604'), + PythonDistribTest('linux', 'x64', 'alpine3.7', source=True), PythonDistribTest('linux', 'x64', 'jessie', source=True), PythonDistribTest('linux', 'x86', 'jessie', source=True), PythonDistribTest('linux', 'x64', 'centos7', source=True), |