Skip to content

Commit 36af605

Browse files
committed
modify doc
1 parent 5b746fb commit 36af605

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

doc/getstarted/build_and_install/docker_install_en.rst

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,14 @@ The general development workflow with Docker and Bazel is as follows:
4545
docker build -t paddle:dev -f paddle/scripts/docker/Dockerfile .
4646
4747
Apt-get source errors may occur when building paddle docker image.
48-
**You can specify the UBUNTU MIRROR with :code:`--build-arg UBUNTU_MIRROR` like the example below.**
48+
**You can specify the UBUNTU MIRROR with** :code:`--build-arg UBUNTU_MIRROR` **like the example below.**
4949

5050
.. code-block:: bash
5151
52-
docker build --build-arg UBUNTU_MIRROR="http://mirrors.163.com" -t paddle:dev -f paddle/scripts/docker/Dockerfile .
52+
docker build \
53+
--build-arg UBUNTU_MIRROR="http://mirrors.163.com" \
54+
-t paddle:dev \
55+
-f paddle/scripts/docker/Dockerfile .
5356
5457
5558
3. Run the image as a container and mounting local source code

0 commit comments

Comments
 (0)