Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d628b58

Browse files
Make python 3.6 the default python 3 version (GoogleCloudPlatform#216)
1 parent cbc6240 commit d628b58

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

runtime-image/Dockerfile.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ RUN wget https://storage.googleapis.com/python-interpreters/latest/interpreter-3
2828

2929
# Add Google-built interpreters to the path
3030
ENV PATH /opt/python3.7/bin:/opt/python3.6/bin:/opt/python3.5/bin:/opt/python3.4/bin:$PATH
31-
RUN update-alternatives --install /usr/local/bin/python3 python3 /opt/python3.7/bin/python3.7 50 && \
32-
update-alternatives --install /usr/local/bin/pip3 pip3 /opt/python3.7/bin/pip3.7 50
31+
RUN update-alternatives --install /usr/local/bin/python3 python3 /opt/python3.6/bin/python3.6 50 && \
32+
update-alternatives --install /usr/local/bin/pip3 pip3 /opt/python3.6/bin/pip3.6 50
3333

3434
# Upgrade pip (debian package version tends to run a few version behind) and
3535
# install virtualenv system-wide.

0 commit comments

Comments
 (0)