Upgrade all TF base images to ubuntu 16. (#15458)

* Upgrade all TF base images to ubuntu 16.

* Update bazel version for CI docker image.

* Fix links to pylint in sanity build script.

* Upgrade bazel version to 0.8 on devel docker images.
This commit is contained in:
Gunhan Gulsoy 2017-12-31 22:35:56 -08:00 committed by drpngx
parent 6b6d843cca
commit 4036422686
10 changed files with 11 additions and 11 deletions

View File

@ -1,4 +1,4 @@
FROM ubuntu:14.04
FROM ubuntu:16.04
LABEL maintainer="Jan Prach <jendap@google.com>"

View File

@ -1,4 +1,4 @@
FROM ubuntu:14.04
FROM ubuntu:16.04
LABEL maintainer="Jan Prach <jendap@google.com>"

View File

@ -1,4 +1,4 @@
FROM ubuntu:14.04
FROM ubuntu:16.04
LABEL authors="Andrew Gibiansky <andrew.gibiansky@gmail.com>, Joel Hestness <jthestness@gmail.com>"

View File

@ -1,4 +1,4 @@
FROM ubuntu:14.04
FROM ubuntu:16.04
LABEL maintainer="Jonathan Hseu <jhseu@google.com>"

View File

@ -1,4 +1,4 @@
FROM ubuntu:14.04
FROM ubuntu:16.04
LABEL maintainer="Jan Prach <jendap@google.com>"

View File

@ -1,4 +1,4 @@
FROM ubuntu:14.04
FROM ubuntu:16.04
LABEL maintainer="Jan Prach <jendap@google.com>"

View File

@ -111,9 +111,9 @@ do_pylint() {
fi
if [[ $1 == "PYTHON2" ]]; then
PYLINT_BIN="python /usr/local/lib/python2.7/dist-packages/pylint/lint.py"
PYLINT_BIN="python -m pylint"
elif [[ $1 == "PYTHON3" ]]; then
PYLINT_BIN="python3 /usr/local/lib/python3.4/dist-packages/pylint/lint.py"
PYLINT_BIN="python3 -m pylint"
else
echo "Unrecognized python version (PYTHON2 | PYTHON3): $1"
return 1

View File

@ -15,7 +15,7 @@
# ==============================================================================
# Select bazel version.
BAZEL_VERSION="0.5.4"
BAZEL_VERSION="0.8.0"
set +e
local_bazel_ver=$(bazel version 2>&1 | grep -i label | awk '{print $3}')

View File

@ -57,7 +57,7 @@ RUN echo "startup --batch" >>/etc/bazel.bazelrc
RUN echo "build --spawn_strategy=standalone --genrule_strategy=standalone" \
>>/etc/bazel.bazelrc
# Install the most recent bazel release.
ENV BAZEL_VERSION 0.5.4
ENV BAZEL_VERSION 0.8.0
WORKDIR /
RUN mkdir /bazel && \
cd /bazel && \

View File

@ -66,7 +66,7 @@ RUN echo "startup --batch" >>/etc/bazel.bazelrc
RUN echo "build --spawn_strategy=standalone --genrule_strategy=standalone" \
>>/etc/bazel.bazelrc
# Install the most recent bazel release.
ENV BAZEL_VERSION 0.5.4
ENV BAZEL_VERSION 0.8.0
WORKDIR /
RUN mkdir /bazel && \
cd /bazel && \