Fix the Python3.6 ppa to deadsnakes as opposed to johnathanf who made his

private.

PiperOrigin-RevId: 291457374
Change-Id: I071fd8fb0161bf0324deb5675085ef0b08ebee45
This commit is contained in:
Amit Patankar 2020-01-24 15:39:02 -08:00 committed by TensorFlower Gardener
parent 30d77a0419
commit f851013e7c
3 changed files with 6 additions and 4 deletions

View File

@ -54,7 +54,8 @@ RUN /install/install_latest_clang.sh
RUN /install/install_bazel.sh
# Install python 3.6.
RUN add-apt-repository ppa:jonathonf/python-3.6 && \
RUN yes "" | add-apt-repository ppa:deadsnakes/ppa
RUN apt-get update && apt-get install -y \
apt-get update && apt-get install -y \
python3.6 python3.6-dev python3-pip python3.6-venv && \
rm -rf /var/lib/apt/lists/* && \

View File

@ -56,7 +56,8 @@ RUN /install/install_latest_clang.sh
RUN /install/install_bazel.sh
# Install python 3.6.
RUN add-apt-repository ppa:jonathonf/python-3.6 && \
RUN yes "" | add-apt-repository ppa:deadsnakes/ppa
RUN apt-get update && apt-get install -y \
apt-get update && apt-get install -y \
python3.6 python3.6-dev python3-pip python3.6-venv && \
rm -rf /var/lib/apt/lists/* && \

View File

@ -55,8 +55,8 @@ env GOROOT=/usr/local/go
env PATH=$GOROOT/bin:$PATH
# Install python 3.6.
RUN add-apt-repository ppa:jonathonf/python-3.6 && \
apt-get update && apt-get install -y \
RUN yes "" | add-apt-repository ppa:deadsnakes/ppa
RUN apt-get update && apt-get install -y \
python3.6 python3.6-dev python3-pip python3.6-venv && \
rm -rf /var/lib/apt/lists/* && \
python3.6 -m pip install pip --upgrade && \