diff options
Diffstat (limited to 'tensorflow/tools/ci_build/install')
5 files changed, 9 insertions, 5 deletions
diff --git a/tensorflow/tools/ci_build/install/install_bootstrap_deb_packages.sh b/tensorflow/tools/ci_build/install/install_bootstrap_deb_packages.sh index b56225c0b8..15526ef4f8 100755 --- a/tensorflow/tools/ci_build/install/install_bootstrap_deb_packages.sh +++ b/tensorflow/tools/ci_build/install/install_bootstrap_deb_packages.sh @@ -18,7 +18,7 @@ set -e # Install bootstrap dependencies from ubuntu deb repository. apt-get update -apt-get install -y \ +apt-get install -y --no-install-recommends \ software-properties-common apt-get clean rm -rf /var/lib/apt/lists/* diff --git a/tensorflow/tools/ci_build/install/install_deb_packages.sh b/tensorflow/tools/ci_build/install/install_deb_packages.sh index 9b5f1418b1..4dc58c8ce4 100755 --- a/tensorflow/tools/ci_build/install/install_deb_packages.sh +++ b/tensorflow/tools/ci_build/install/install_deb_packages.sh @@ -19,7 +19,7 @@ set -e # Install dependencies from ubuntu deb repository. apt-get update -apt-get install -y \ +apt-get install -y --no-install-recommends \ autoconf \ automake \ build-essential \ @@ -37,6 +37,7 @@ apt-get install -y \ python-virtualenv \ python3-dev \ python3-pip \ + rsync \ sudo \ swig \ unzip \ diff --git a/tensorflow/tools/ci_build/install/install_pip_packages.sh b/tensorflow/tools/ci_build/install/install_pip_packages.sh index 1e667690d2..d244a24950 100755 --- a/tensorflow/tools/ci_build/install/install_pip_packages.sh +++ b/tensorflow/tools/ci_build/install/install_pip_packages.sh @@ -19,6 +19,9 @@ set -e # Install pip packages from whl files to avoid the time-consuming process of # building from source. +pip install wheel +pip3 install wheel + # Use pip to install numpy to the latest version, instead of 1.8.2 through # apt-get wget -q https://pypi.python.org/packages/17/f3/404bc85be67150663024d2bb5af654c7d16cf678077690dda27b91be14eb/numpy-1.8.2-cp27-cp27mu-manylinux1_x86_64.whl#md5=3ccf5c004fc99bd06dd443de80d622e6 diff --git a/tensorflow/tools/ci_build/install/install_python3.5_pip_packages.sh b/tensorflow/tools/ci_build/install/install_python3.5_pip_packages.sh index e781361627..ba4293cb27 100755 --- a/tensorflow/tools/ci_build/install/install_python3.5_pip_packages.sh +++ b/tensorflow/tools/ci_build/install/install_python3.5_pip_packages.sh @@ -30,7 +30,7 @@ tar xzf swig-3.0.8.tar.gz pushd /swig-3.0.8 -apt-get install -y libpcre3-dev +apt-get install -y --no-install-recommends libpcre3-dev ./configure make make install @@ -43,7 +43,7 @@ rm -rf swig-3.0.8 rm -f swig-3.0.8.tar.gz # Install Python 3.5 and dev library -apt-get install -y python3.5 libpython3.5-dev +apt-get install -y --no-install-recommends python3.5 libpython3.5-dev # Install pip3.4 and numpy for Python 3.4 # This strange-looking install step is a stopgap measure to make the genrule diff --git a/tensorflow/tools/ci_build/install/install_tensorboard_packages.sh b/tensorflow/tools/ci_build/install/install_tensorboard_packages.sh index 95b8314f4c..ca5092cd47 100755 --- a/tensorflow/tools/ci_build/install/install_tensorboard_packages.sh +++ b/tensorflow/tools/ci_build/install/install_tensorboard_packages.sh @@ -18,7 +18,7 @@ set -e # Install dependencies from ubuntu deb repository. apt-get update -apt-get install -y \ +apt-get install -y --no-install-recommends \ chromium-browser \ nodejs \ nodejs-legacy \ |