Skip to content

Commit af1c2e9

Browse files
committed
Add -U to RUN pip install
1 parent ccf89a5 commit af1c2e9

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

paddle/scripts/docker/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ RUN apt-get update \
99
sed grep graphviz libjpeg-dev zlib1g-dev doxygen \
1010
clang-3.8 llvm-3.8 libclang-3.8-dev \
1111
&& apt-get clean -y
12-
RUN pip install BeautifulSoup docopt PyYAML pillow \
13-
'sphinx>=1.4.0' sphinx_rtd_theme breathe recommonmark
12+
RUN pip install -U BeautifulSoup docopt PyYAML pillow \
13+
sphinx sphinx_rtd_theme breathe recommonmark
1414

1515
ARG WITH_AVX
1616
ENV WITH_AVX=${WITH_AVX:-ON}

paddle/scripts/docker/Dockerfile.gpu

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ RUN apt-get update \
99
sed grep graphviz libjpeg-dev zlib1g-dev doxygen \
1010
clang-3.8 llvm-3.8 libclang-3.8-dev \
1111
&& apt-get clean -y
12-
RUN pip install BeautifulSoup docopt PyYAML pillow \
13-
'sphinx>=1.4.0' sphinx_rtd_theme breathe recommonmark
12+
RUN pip install -U BeautifulSoup docopt PyYAML pillow \
13+
sphinx sphinx_rtd_theme breathe recommonmark
1414

1515
ARG WITH_AVX
1616
ENV WITH_AVX=${WITH_AVX:-ON}

0 commit comments

Comments
 (0)