Skip to content

Commit 84c7862

Browse files
committed
Remove bazel from dockerfile and docs
1 parent f0449b8 commit 84c7862

File tree

11 files changed

+1
-259
lines changed

11 files changed

+1
-259
lines changed

WORKSPACE

Lines changed: 0 additions & 31 deletions
This file was deleted.

doc/getstarted/build_and_install/docker_install_en.rst

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -57,16 +57,13 @@ The general development workflow with Docker and Bazel is as follows:
5757
--name paddle \
5858
-p 2022:22 \
5959
-v $PWD:/paddle \
60-
-v $HOME/.cache/bazel:/root/.cache/bazel \
6160
paddle:dev
6261
6362
where :code:`-d` makes the container running in background,
6463
:code:`--name paddle` allows us to run a nginx container to serve
6564
documents in this container, :code:`-p 2022:22` allows us to SSH
6665
into this container, :code:`-v $PWD:/paddle` shares the source code
67-
on the host with the container, :code:`-v
68-
$HOME/.cache/bazel:/root/.cache/bazel` shares Bazel cache on the
69-
host with the container.
66+
on the host with the container.
7067

7168
4. SSH into the container:
7269

@@ -86,13 +83,6 @@ The general development workflow with Docker and Bazel is as follows:
8683
make -j `nproc`
8784
CTEST_OUTPUT_ON_FAILURE=1 ctest
8885
89-
or Bazel in the container:
90-
91-
.. code-block:: bash
92-
93-
cd /paddle
94-
bazel test ...
95-
9686
9787
CPU-only and GPU Images
9888
-----------------------

paddle/scripts/docker/Dockerfile

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,6 @@ RUN cd /usr/src/gtest && cmake . && make && cp *.a /usr/lib
1515
RUN pip install -U BeautifulSoup docopt PyYAML pillow \
1616
sphinx sphinx_rtd_theme recommonmark
1717

18-
# cmake tends to hide and blur the dependencies between code modules, as
19-
# noted here https://github.com/PaddlePaddle/Paddle/issues/763. We are
20-
# thinking about using Bazel to fix this problem, e.g.,
21-
# https://github.com/PaddlePaddle/Paddle/issues/681#issuecomment-263996102. To
22-
# start the trail of fixing, we add Bazel to our Dockerfiles.
23-
RUN apt-get update && apt-get install -y curl software-properties-common \
24-
&& add-apt-repository ppa:webupd8team/java \
25-
&& echo "oracle-java8-installer shared/accepted-oracle-license-v1-1 select true" | debconf-set-selections \
26-
&& echo "deb [arch=amd64] http://storage.googleapis.com/bazel-apt stable jdk1.8" | tee /etc/apt/sources.list.d/bazel.list \
27-
&& curl https://bazel.build/bazel-release.pub.gpg | apt-key add - \
28-
&& apt-get update && apt-get install -y oracle-java8-installer bazel
29-
3018
ARG WITH_AVX
3119
ARG WITH_DOC
3220
ARG WITH_SWIG_PY

paddle/scripts/docker/Dockerfile.gpu

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,6 @@ RUN cd /usr/src/gtest && cmake . && make && cp *.a /usr/lib
1515
RUN pip install -U BeautifulSoup docopt PyYAML pillow \
1616
sphinx sphinx_rtd_theme recommonmark
1717

18-
# cmake tends to hide and blur the dependencies between code modules, as
19-
# noted here https://github.com/PaddlePaddle/Paddle/issues/763. We are
20-
# thinking about using Bazel to fix this problem, e.g.,
21-
# https://github.com/PaddlePaddle/Paddle/issues/681#issuecomment-263996102. To
22-
# start the trail of fixing, we add Bazel to our Dockerfiles.
23-
RUN apt-get update && apt-get install -y curl software-properties-common \
24-
&& add-apt-repository ppa:webupd8team/java \
25-
&& echo "oracle-java8-installer shared/accepted-oracle-license-v1-1 select true" | debconf-set-selections \
26-
&& echo "deb [arch=amd64] http://storage.googleapis.com/bazel-apt stable jdk1.8" | tee /etc/apt/sources.list.d/bazel.list \
27-
&& curl https://bazel.build/bazel-release.pub.gpg | apt-key add - \
28-
&& apt-get update && apt-get install -y oracle-java8-installer bazel
29-
3018
ARG WITH_AVX
3119
ARG WITH_DOC
3220
ARG WITH_SWIG_PY

third_party/gflags.BUILD

Lines changed: 0 additions & 12 deletions
This file was deleted.

third_party/gflags_test/BUILD

Lines changed: 0 additions & 10 deletions
This file was deleted.

third_party/glog.BUILD

Lines changed: 0 additions & 128 deletions
This file was deleted.

third_party/glog_test/BUILD

Lines changed: 0 additions & 10 deletions
This file was deleted.

third_party/gtest.BUILD

Lines changed: 0 additions & 8 deletions
This file was deleted.

third_party/protobuf_test/BUILD

Lines changed: 0 additions & 24 deletions
This file was deleted.

0 commit comments

Comments
 (0)