Skip to content

Commit fa9c623

Browse files
authored
Merge pull request #1234 from helinwang/fix_docker
fix docker build
2 parents f1a8f7a + 7712fd5 commit fa9c623

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

paddle/scripts/docker/Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ RUN apt-get update && \
1313
apt-get install -y automake clang-3.8 llvm-3.8 libclang-3.8-dev && \
1414
apt-get clean -y
1515

16-
RUN pip install --upgrade pip && \
17-
pip install 'protobuf==3.1.0.post1' && \
16+
RUN pip install --upgrade pip
17+
RUN pip install 'protobuf==3.1.0.post1' && \
1818
pip install -U wheel pillow BeautifulSoup && \
1919
pip install -U docopt PyYAML sphinx && \
2020
pip install -U sphinx_rtd_theme recommonmark jupyter

paddle/scripts/docker/Dockerfile.gpu

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ RUN apt-get update && \
1313
apt-get install -y automake clang-3.8 llvm-3.8 libclang-3.8-dev && \
1414
apt-get clean -y
1515

16-
RUN pip install --upgrade pip && \
17-
pip install 'protobuf==3.1.0.post1' && \
16+
RUN pip install --upgrade pip
17+
RUN pip install 'protobuf==3.1.0.post1' && \
1818
pip install -U wheel pillow BeautifulSoup && \
1919
pip install -U docopt PyYAML sphinx && \
2020
pip install -U sphinx_rtd_theme recommonmark jupyter

0 commit comments

Comments
 (0)