aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates/tools/dockerfile/test/python_stretch_36_x64/Dockerfile.template
diff options
context:
space:
mode:
Diffstat (limited to 'templates/tools/dockerfile/test/python_stretch_36_x64/Dockerfile.template')
-rw-r--r--templates/tools/dockerfile/test/python_stretch_36_x64/Dockerfile.template11
1 files changed, 4 insertions, 7 deletions
diff --git a/templates/tools/dockerfile/test/python_stretch_36_x64/Dockerfile.template b/templates/tools/dockerfile/test/python_stretch_36_x64/Dockerfile.template
index cba11a88fd..7db3b7609e 100644
--- a/templates/tools/dockerfile/test/python_stretch_36_x64/Dockerfile.template
+++ b/templates/tools/dockerfile/test/python_stretch_36_x64/Dockerfile.template
@@ -1,6 +1,6 @@
%YAML 1.2
--- |
- # Copyright 2018 gRPC authors.
+ # 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.
@@ -18,13 +18,10 @@
<%include file="../../apt_get_basic.include"/>
<%include file="../../gcp_api_libraries.include"/>
-
- # Install Python Versions from Debian 'testing' repository
- RUN echo 'deb http://ftp.de.debian.org/debian testing main' >> /etc/apt/sources.list
- RUN echo 'APT::Default-Release "stable";' | tee -a /etc/apt/apt.conf.d/00local
- RUN apt-get update && apt-get -t testing install -y python2.7 python3.6 python-all-dev python3-all-dev
+ <%include file="../../apt_get_python_27.include"/>
+ <%include file="../../debian_testing_repo.include"/>
- RUN curl https://bootstrap.pypa.io/get-pip.py | python2.7
+ RUN apt-get update && apt-get -t testing install -y python3.6 python3-all-dev
RUN curl https://bootstrap.pypa.io/get-pip.py | python3.6
<%include file="../../run_tests_addons.include"/>