提交 fc3392e9 编写于 作者: C conglin

update docker version

Signed-off-by: Nconglin <conglin8023@126.com>
上级 4fe5102e
...@@ -180,13 +180,13 @@ hb set ...@@ -180,13 +180,13 @@ hb set
1. Obtain the Docker image. 1. Obtain the Docker image.
``` ```
docker pull swr.cn-south-1.myhuaweicloud.com/openharmony-docker/openharmony-docker-standard:0.0.1 docker pull swr.cn-south-1.myhuaweicloud.com/openharmony-docker/openharmony-docker-standard:0.0.2
``` ```
2. Go to the root directory of OpenHarmony code and run the following command to access the Docker build environment: 2. Go to the root directory of OpenHarmony code and run the following command to access the Docker build environment:
``` ```
docker run -it -v $(pwd):/home/openharmony swr.cn-south-1.myhuaweicloud.com/openharmony-docker/openharmony-docker-standard:0.0.1 docker run -it -v $(pwd):/home/openharmony swr.cn-south-1.myhuaweicloud.com/openharmony-docker/openharmony-docker-standard:0.0.2
``` ```
...@@ -208,7 +208,7 @@ hb set ...@@ -208,7 +208,7 @@ hb set
3. Go to the root directory of OpenHarmony code and run the following command to access the Docker build environment: 3. Go to the root directory of OpenHarmony code and run the following command to access the Docker build environment:
``` ```
docker run -it -v $(pwd):/home/openharmony openharmony-docker-standard:0.0.1 docker run -it -v $(pwd):/home/openharmony openharmony-docker-standard:0.0.2
``` ```
...@@ -289,7 +289,7 @@ Start building. Docker can be automatically installed only in Ubuntu. If you are ...@@ -289,7 +289,7 @@ Start building. Docker can be automatically installed only in Ubuntu. If you are
This example uses the **@ohos/hispark\_taurus** solution for illustration. If the execution is successful, the output is as follows: This example uses the **@ohos/hispark\_taurus** solution for illustration. If the execution is successful, the output is as follows:
``` ```
... ...
ohos ipcamera_hispark_taurus build success! ohos ipcamera_hispark_taurus build success!
......
...@@ -180,13 +180,13 @@ hb set ...@@ -180,13 +180,13 @@ hb set
1. 获取Docker镜像。 1. 获取Docker镜像。
``` ```
docker pull swr.cn-south-1.myhuaweicloud.com/openharmony-docker/openharmony-docker-standard:0.0.1 docker pull swr.cn-south-1.myhuaweicloud.com/openharmony-docker/openharmony-docker-standard:0.0.2
``` ```
2. 进入OpenHarmony代码根目录执行如下命令,从而进入Docker构建环境。 2. 进入OpenHarmony代码根目录执行如下命令,从而进入Docker构建环境。
``` ```
docker run -it -v $(pwd):/home/openharmony swr.cn-south-1.myhuaweicloud.com/openharmony-docker/openharmony-docker-standard:0.0.1 docker run -it -v $(pwd):/home/openharmony swr.cn-south-1.myhuaweicloud.com/openharmony-docker/openharmony-docker-standard:0.0.2
``` ```
...@@ -208,7 +208,7 @@ hb set ...@@ -208,7 +208,7 @@ hb set
3. 进入OpenHarmony代码根目录执行如下命令,从而进入Docker构建环境。 3. 进入OpenHarmony代码根目录执行如下命令,从而进入Docker构建环境。
``` ```
docker run -it -v $(pwd):/home/openharmony openharmony-docker-standard:0.0.1 docker run -it -v $(pwd):/home/openharmony openharmony-docker-standard:0.0.2
``` ```
...@@ -289,7 +289,7 @@ docker\_dist是一个[HPM](https://hpm.harmonyos.com/)系统中的模板组件 ...@@ -289,7 +289,7 @@ docker\_dist是一个[HPM](https://hpm.harmonyos.com/)系统中的模板组件
以上两种方式以@ohos/hispark\_taurus为例,执行成功结果如下: 以上两种方式以@ohos/hispark\_taurus为例,执行成功结果如下:
``` ```
...... ......
ohos ipcamera_hispark_taurus build success! ohos ipcamera_hispark_taurus build success!
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册