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 256a7d2 fix compilation doc for invalid ref, docker build
256a7d2 is described below
commit 256a7d2c3c86afc2cf6f05a16e381c1e157c66cd
Author: neverchanje <[email protected]>
AuthorDate: Fri Nov 20 11:54:14 2020 +0800
fix compilation doc for invalid ref, docker build
---
_docs/en/build/compile-by-docker.md | 8 ++++----
_docs/zh/1.x/installation.md | 2 +-
_docs/zh/build/compile-by-docker.md | 8 ++++----
3 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/_docs/en/build/compile-by-docker.md
b/_docs/en/build/compile-by-docker.md
index fb8e2d0..a45c24e 100755
--- a/_docs/en/build/compile-by-docker.md
+++ b/_docs/en/build/compile-by-docker.md
@@ -22,7 +22,7 @@ Please refer to [Downloads](/docs/downloads) to fetch the
sources under a direct
```sh
docker run -v /your/local/apache-pegasus-source:/root/pegasus \
- apachepegasus/build-env:centos6 \
+ apachepegasus/build-env:{{ site.latest_pegasus_version }}-centos6 \
/bin/bash -c "./run.sh build -c"
```
@@ -34,7 +34,7 @@ Package server binaries for deployment:
```bash
docker run -v /your/local/apache-pegasus-source:/root/pegasus \
- apachepegasus/build-env:centos6 \
+ apachepegasus/build-env:{{ site.latest_pegasus_version }}-centos6 \
/bin/bash -c "./run.sh pack_server"
```
@@ -42,7 +42,7 @@ Package client libraries for C/C++ development:
```bash
docker run -v /your/local/apache-pegasus-source:/root/pegasus \
- apachepegasus/build-env:centos6 \
+ apachepegasus/build-env:{{ site.latest_pegasus_version }}-centos6 \
/bin/bash -c "./run.sh pack_client"
```
@@ -50,7 +50,7 @@ Package toolset which includes various tools (shell, bench):
```bash
docker run -v /your/local/apache-pegasus-source:/root/pegasus \
- apachepegasus/build-env:centos6 \
+ apachepegasus/build-env:{{ site.latest_pegasus_version }}-centos6 \
/bin/bash -c "./run.sh pack_tools"
```
diff --git a/_docs/zh/1.x/installation.md b/_docs/zh/1.x/installation.md
index e312bfd..318f69d 100755
--- a/_docs/zh/1.x/installation.md
+++ b/_docs/zh/1.x/installation.md
@@ -1,5 +1,5 @@
---
-permalink: 1.x/docs/installation/
+permalink: 1.x/docs/build/compile-from-source/
version: 1.x
---
diff --git a/_docs/zh/build/compile-by-docker.md
b/_docs/zh/build/compile-by-docker.md
index 0ecd92c..cfe16c6 100755
--- a/_docs/zh/build/compile-by-docker.md
+++ b/_docs/zh/build/compile-by-docker.md
@@ -22,7 +22,7 @@ docker pull apachepegasus/build-env:{{
site.latest_pegasus_version }}-centos6
```sh
docker run -v /your/local/apache-pegasus-source:/root/pegasus \
- apachepegasus/build-env:centos6 \
+ apachepegasus/build-env:{{ site.latest_pegasus_version }}-centos6 \
/bin/bash -c "./run.sh build -c"
```
@@ -34,7 +34,7 @@ docker run -v /your/local/apache-pegasus-source:/root/pegasus
\
```bash
docker run -v /your/local/apache-pegasus-source:/root/pegasus \
- apachepegasus/build-env:centos6 \
+ apachepegasus/build-env:{{ site.latest_pegasus_version }}-centos6 \
/bin/bash -c "./run.sh pack_server"
```
@@ -42,7 +42,7 @@ docker run -v /your/local/apache-pegasus-source:/root/pegasus
\
```bash
docker run -v /your/local/apache-pegasus-source:/root/pegasus \
- apachepegasus/build-env:centos6 \
+ apachepegasus/build-env:{{ site.latest_pegasus_version }}-centos6 \
/bin/bash -c "./run.sh pack_client"
```
@@ -50,7 +50,7 @@ docker run -v /your/local/apache-pegasus-source:/root/pegasus
\
```bash
docker run -v /your/local/apache-pegasus-source:/root/pegasus \
- apachepegasus/build-env:centos6 \
+ apachepegasus/build-env:{{ site.latest_pegasus_version }}-centos6 \
/bin/bash -c "./run.sh pack_tools"
```
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]