From e7c1b774e8956e040e75aee3bf4a7def052b3e05 Mon Sep 17 00:00:00 2001 From: Hector Li Date: Mon, 11 Feb 2019 21:29:36 -0800 Subject: [PATCH] Move build dependencies like setuptools wheel numpy into docker image (#468) * Move build dependencies like setuptools wheel numpy into docker image, so won't install them again and again for docker build * revert the changes in install_deps.sh --- tools/ci_build/build.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/ci_build/build.py b/tools/ci_build/build.py index dd7c283f9d..f3ff664d2d 100755 --- a/tools/ci_build/build.py +++ b/tools/ci_build/build.py @@ -562,7 +562,8 @@ def main(): cmake_extra_args = ['-A','x64','-T', toolset, '-G', 'Visual Studio 15 2017'] if is_ubuntu_1604(): install_ubuntu_deps(args) - install_python_deps() + if not is_docker(): + install_python_deps() if (args.enable_pybind and is_windows()): install_python_deps() if (not args.skip_submodule_sync):