This is an automated email from the ASF dual-hosted git repository.

wutao pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-pegasus-website.git


The following commit(s) were added to refs/heads/master by this push:
     new 4844668  fix compile-from-source 2.1.0 missing links
4844668 is described below

commit 4844668d4a28c6e21789bb42aeae0e04a2837e7e
Author: neverchanje <[email protected]>
AuthorDate: Sat Dec 26 18:30:18 2020 +0800

    fix compile-from-source 2.1.0 missing links
---
 _docs/en/build/compile-from-source.md | 5 +++--
 _docs/zh/build/compile-from-source.md | 5 +++--
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/_docs/en/build/compile-from-source.md 
b/_docs/en/build/compile-from-source.md
index 78d311c..aed6e18 100755
--- a/_docs/en/build/compile-from-source.md
+++ b/_docs/en/build/compile-from-source.md
@@ -14,9 +14,10 @@ Pegasus supports Linux only. Please don't hesitate to 
contact us via [Github Iss
 
 ## Ubuntu environment
 
-You can refer to the docker image 
[pegasus-build-dev/ubuntu16.04](https://github.com/pegasus-kv/pegasus-docker/blob/master/pegasus-build-env/ubuntu16.04/Dockerfile)
 to install all dependencies.
+You can refer to the docker image 
[pegasus-build-dev/ubuntu16.04](https://github.com/pegasus-kv/pegasus-docker/blob/2.1.0/pegasus-build-env/ubuntu16.04/Dockerfile)
 to install all dependencies.
 
 ```bash
+apt-get update -y; \
 apt-get -y install build-essential \
                    python3-pip \
                    libaio-dev \
@@ -41,7 +42,7 @@ pip3 install --no-cache-dir cmake
 
 ## CentOS environment
 
-You can refer to the docker image 
[pegasus-build-dev/centos7](https://github.com/pegasus-kv/pegasus-docker/blob/master/pegasus-build-env/centos7/Dockerfile)
 to install all dependencies.
+You can refer to the docker image 
[pegasus-build-dev/centos7](https://github.com/pegasus-kv/pegasus-docker/blob/2.1.0/pegasus-build-env/centos7/Dockerfile)
 to install all dependencies.
 
 ```bash
 yum -y install centos-release-scl \
diff --git a/_docs/zh/build/compile-from-source.md 
b/_docs/zh/build/compile-from-source.md
index 83e4c80..8dbf6e4 100755
--- a/_docs/zh/build/compile-from-source.md
+++ b/_docs/zh/build/compile-from-source.md
@@ -15,9 +15,10 @@ Pegasus目前只支持Linux平台进行源码编译。编译过程中遇到问
 
 ## Ubuntu环境配置
 
-你可以参考 
[pegasus-build-dev/ubuntu16.04](https://github.com/pegasus-kv/pegasus-docker/blob/master/pegasus-build-env/ubuntu16.04/Dockerfile)
 的Docker镜像安装全部依赖。
+你可以参考 
[pegasus-build-dev/ubuntu16.04](https://github.com/pegasus-kv/pegasus-docker/blob/2.1.0/pegasus-build-env/ubuntu16.04/Dockerfile)
 的Docker镜像安装全部依赖。
 
 ```bash
+apt-get update -y; \
 apt-get -y install build-essential \
                    python3-pip \
                    libaio-dev \
@@ -42,7 +43,7 @@ pip3 install --no-cache-dir cmake
 
 ## CentOS环境配置
 
-你可以参考 
[pegasus-build-dev/centos7](https://github.com/pegasus-kv/pegasus-docker/blob/master/pegasus-build-env/centos7/Dockerfile)
 的Docker镜像安装全部依赖。
+你可以参考 
[pegasus-build-dev/centos7](https://github.com/pegasus-kv/pegasus-docker/blob/2.1.0/pegasus-build-env/centos7/Dockerfile)
 的Docker镜像安装全部依赖。
 
 ```bash
 yum -y install centos-release-scl \


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to