From af1c2e905dfe26290ddf2ca6f4a9109264bb13e0 Mon Sep 17 00:00:00 2001 From: Yi Wang Date: Mon, 5 Dec 2016 08:45:01 -0800 Subject: [PATCH] Add -U to RUN pip install --- paddle/scripts/docker/Dockerfile | 4 ++-- paddle/scripts/docker/Dockerfile.gpu | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/paddle/scripts/docker/Dockerfile b/paddle/scripts/docker/Dockerfile index 2983b180000..247f0b5a7a3 100644 --- a/paddle/scripts/docker/Dockerfile +++ b/paddle/scripts/docker/Dockerfile @@ -9,8 +9,8 @@ RUN apt-get update \ sed grep graphviz libjpeg-dev zlib1g-dev doxygen \ clang-3.8 llvm-3.8 libclang-3.8-dev \ && apt-get clean -y -RUN pip install BeautifulSoup docopt PyYAML pillow \ - 'sphinx>=1.4.0' sphinx_rtd_theme breathe recommonmark +RUN pip install -U BeautifulSoup docopt PyYAML pillow \ + sphinx sphinx_rtd_theme breathe recommonmark ARG WITH_AVX ENV WITH_AVX=${WITH_AVX:-ON} diff --git a/paddle/scripts/docker/Dockerfile.gpu b/paddle/scripts/docker/Dockerfile.gpu index ea6a8de725a..987121686e8 100644 --- a/paddle/scripts/docker/Dockerfile.gpu +++ b/paddle/scripts/docker/Dockerfile.gpu @@ -9,8 +9,8 @@ RUN apt-get update \ sed grep graphviz libjpeg-dev zlib1g-dev doxygen \ clang-3.8 llvm-3.8 libclang-3.8-dev \ && apt-get clean -y -RUN pip install BeautifulSoup docopt PyYAML pillow \ - 'sphinx>=1.4.0' sphinx_rtd_theme breathe recommonmark +RUN pip install -U BeautifulSoup docopt PyYAML pillow \ + sphinx sphinx_rtd_theme breathe recommonmark ARG WITH_AVX ENV WITH_AVX=${WITH_AVX:-ON} -- GitLab