Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
gangliao committed Jan 17, 2017
1 parent d79cac1 commit 832bb6a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions doc/getstarted/build_and_install/build_from_source_en.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,8 @@ As a simple example, consider the following:
```bash
# necessary
sudo apt-get update
sudo apt-get install -y g++ make cmake build-essential python python-pip libpython-dev git
sudo pip install wheel numpy
sudo apt-get install -y g++ make cmake build-essential python python-pip python-numpy libpython-dev git
sudo pip install wheel
sudo pip install 'protobuf>=3.0.0'
```
Expand Down
6 changes: 3 additions & 3 deletions paddle/scripts/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ RUN apt-get update && \
apt-get install -y git python-pip python-dev openssh-server && \
apt-get install -y wget unzip tar xz-utils bzip2 gzip coreutils && \
apt-get install -y curl sed grep graphviz libjpeg-dev zlib1g-dev && \
apt-get install -y python-matplotlib g++ && \
apt-get install -y python-numpy python-matplotlib g++ && \
apt-get clean -y

RUN pip install --upgrade pip && \
pip install 'protobuf==3.1.0.post1' && \
pip install -U numpy wheel pillow && \
pip install -U BeautifulSoup docopt PyYAML sphinx && \
pip install -U wheel pillow BeautifulSoup && \
pip install -U docopt PyYAML sphinx && \
pip install -U sphinx_rtd_theme recommonmark jupyter

RUN curl -sSL https://cmake.org/files/v3.4/cmake-3.4.1.tar.gz | tar -xz && \
Expand Down
6 changes: 3 additions & 3 deletions paddle/scripts/docker/Dockerfile.gpu
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ RUN apt-get update && \
apt-get install -y git python-pip python-dev openssh-server && \
apt-get install -y wget unzip tar xz-utils bzip2 gzip coreutils && \
apt-get install -y curl sed grep graphviz libjpeg-dev zlib1g-dev && \
apt-get install -y python-matplotlib g++ && \
apt-get install -y python-numpy python-matplotlib g++ && \
apt-get clean -y

RUN pip install --upgrade pip && \
pip install 'protobuf==3.1.0.post1' && \
pip install -U numpy wheel pillow && \
pip install -U BeautifulSoup docopt PyYAML sphinx && \
pip install -U wheel pillow BeautifulSoup && \
pip install -U docopt PyYAML sphinx && \
pip install -U sphinx_rtd_theme recommonmark jupyter

RUN curl -sSL https://cmake.org/files/v3.4/cmake-3.4.1.tar.gz | tar -xz && \
Expand Down

0 comments on commit 832bb6a

Please sign in to comment.