提交 d89ac998 编写于 作者: Y Yifei Feng 提交者: TensorFlower Gardener

Switch to a different ppa for python36.

Looks like https://launchpad.net/~jonathonf is getting slowly removed.

Fix "The repository 'http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu xenial Release' does not have a Release file."

PiperOrigin-RevId: 286273233
Change-Id: I5fd9b896f03f748fea440d5ab4077d996ebe2afd
上级 62d46051
...@@ -53,7 +53,7 @@ env GOROOT=/usr/local/go ...@@ -53,7 +53,7 @@ env GOROOT=/usr/local/go
env PATH=$GOROOT/bin:$PATH env PATH=$GOROOT/bin:$PATH
# Install python 3.6. # Install python 3.6.
RUN add-apt-repository ppa:jonathonf/python-3.6 && \ RUN add-apt-repository ppa:deadsnakes/ppa && \
apt-get update && apt-get install -y \ apt-get update && apt-get install -y \
python3.6 python3.6-dev python3-pip python3.6-venv && \ python3.6 python3.6-dev python3-pip python3.6-venv && \
rm -rf /var/lib/apt/lists/* && \ rm -rf /var/lib/apt/lists/* && \
......
...@@ -53,7 +53,7 @@ RUN /install/install_buildifier.sh ...@@ -53,7 +53,7 @@ RUN /install/install_buildifier.sh
ENV TF_NEED_CUDA=1 ENV TF_NEED_CUDA=1
# Install python 3.6. # Install python 3.6.
RUN add-apt-repository ppa:jonathonf/python-3.6 && \ RUN add-apt-repository ppa:deadsnakes/ppa && \
apt-get update && apt-get install -y \ apt-get update && apt-get install -y \
python3.6 python3.6-dev python3-pip python3.6-venv && \ python3.6 python3.6-dev python3-pip python3.6-venv && \
rm -rf /var/lib/apt/lists/* && \ rm -rf /var/lib/apt/lists/* && \
......
...@@ -55,7 +55,7 @@ RUN /install/install_buildifier.sh ...@@ -55,7 +55,7 @@ RUN /install/install_buildifier.sh
ENV TF_NEED_CUDA=1 ENV TF_NEED_CUDA=1
# Install python 3.6. # Install python 3.6.
RUN add-apt-repository ppa:jonathonf/python-3.6 && \ RUN add-apt-repository ppa:deadsnakes/ppa && \
apt-get update && apt-get install -y \ apt-get update && apt-get install -y \
python3.6 python3.6-dev python3-pip python3.6-venv && \ python3.6 python3.6-dev python3-pip python3.6-venv && \
rm -rf /var/lib/apt/lists/* && \ rm -rf /var/lib/apt/lists/* && \
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册