Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Docs
提交
f031c2e8
D
Docs
项目概览
OpenHarmony
/
Docs
1 年多 前同步成功
通知
159
Star
292
Fork
28
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
Docs
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
f031c2e8
编写于
10月 28, 2021
作者:
C
c00565983
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update docker
Signed-off-by:
N
c00565983
<
forest.cong@huawei.com
>
上级
ba574c77
变更
8
隐藏空白更改
内联
并排
Showing
8 changed file
with
30 addition
and
20 deletion
+30
-20
docker/standard/CHANGELOG.md
docker/standard/CHANGELOG.md
+4
-0
docker/standard/CHANGELOG_en.md
docker/standard/CHANGELOG_en.md
+4
-0
docker/standard/Readme-en.md
docker/standard/Readme-en.md
+3
-3
docker/standard/Readme.md
docker/standard/Readme.md
+3
-3
en/device-dev/get-code/gettools-acquire.md
en/device-dev/get-code/gettools-acquire.md
+5
-4
en/device-dev/quick-start/quickstart-standard-docker-environment.md
...dev/quick-start/quickstart-standard-docker-environment.md
+3
-3
zh-cn/device-dev/get-code/gettools-acquire.md
zh-cn/device-dev/get-code/gettools-acquire.md
+5
-4
zh-cn/device-dev/quick-start/quickstart-standard-docker-environment.md
...dev/quick-start/quickstart-standard-docker-environment.md
+3
-3
未找到文件。
docker/standard/CHANGELOG.md
浏览文件 @
f031c2e8
### 0.0.5(2021/10/28)
新增安装tar、binutils、git-lfs、gnutls-bin、python3.8、python3-pip、cpio。
### 0.0.4(2021/09/18)
### 0.0.4(2021/09/18)
1、删除编译依赖的工具预装。
1、删除编译依赖的工具预装。
...
...
docker/standard/CHANGELOG_en.md
浏览文件 @
f031c2e8
### 0.0.5(2021/10/28)
Added the installation of tar, binutils, git-lfs, gnutls-bin, python3.8, python3-pip and cpio.
### 0.0.4(2021/09/18)
### 0.0.4(2021/09/18)
1
\.
dropped pre-installed build dependency tools.
1
\.
dropped pre-installed build dependency tools.
...
...
docker/standard/Readme-en.md
浏览文件 @
f031c2e8
...
@@ -10,11 +10,11 @@ The Docker image of OpenHarmony is hosted on [HUAWEI Cloud SWR](https://auth.hua
...
@@ -10,11 +10,11 @@ The Docker image of OpenHarmony is hosted on [HUAWEI Cloud SWR](https://auth.hua
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.
4
docker pull swr.cn-south-1.myhuaweicloud.com/openharmony-docker/openharmony-docker-standard:0.0.
5
```
```
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.
4
docker run -it -v $(pwd):/home/openharmony swr.cn-south-1.myhuaweicloud.com/openharmony-docker/openharmony-docker-standard:0.0.
5
```
```
##### **Method 2: Using the Dockerfile to Build a Local Docker Image**
##### **Method 2: Using the Dockerfile to Build a Local Docker Image**
...
@@ -30,7 +30,7 @@ cd docs/docker/standard
...
@@ -30,7 +30,7 @@ cd docs/docker/standard
```
```
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.
4
docker run -it -v $(pwd):/home/openharmony openharmony-docker-standard:0.0.
5
```
```
### Building for Standard-System Devices (reference memory ≥ 128 MB)
### Building for Standard-System Devices (reference memory ≥ 128 MB)
...
...
docker/standard/Readme.md
浏览文件 @
f031c2e8
...
@@ -10,11 +10,11 @@ OpenHarmony的Docker镜像托管在HuaweiCloud SWR上。开发者可以通过该
...
@@ -10,11 +10,11 @@ OpenHarmony的Docker镜像托管在HuaweiCloud SWR上。开发者可以通过该
1.
获取Docker镜像。
1.
获取Docker镜像。
```
```
docker pull swr.cn-south-1.myhuaweicloud.com/openharmony-docker/openharmony-docker-standard:0.0.
4
docker pull swr.cn-south-1.myhuaweicloud.com/openharmony-docker/openharmony-docker-standard:0.0.
5
```
```
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.
4
docker run -it -v $(pwd):/home/openharmony swr.cn-south-1.myhuaweicloud.com/openharmony-docker/openharmony-docker-standard:0.0.
5
```
```
##### 方式二:通过Dockerfile 构建本地Docker镜像进行构建
##### 方式二:通过Dockerfile 构建本地Docker镜像进行构建
...
@@ -30,7 +30,7 @@ cd docs/docker/standard
...
@@ -30,7 +30,7 @@ cd docs/docker/standard
```
```
3.
进入OpenHarmony代码根目录执行如下命令,从而进入Docker构建环境。
3.
进入OpenHarmony代码根目录执行如下命令,从而进入Docker构建环境。
```
```
docker run -it -v $(pwd):/home/openharmony openharmony-docker-standard:0.0.
4
docker run -it -v $(pwd):/home/openharmony openharmony-docker-standard:0.0.
5
```
```
### 编译源码-标准系统类设备(参考内存≥128MB)
### 编译源码-标准系统类设备(参考内存≥128MB)
...
...
en/device-dev/get-code/gettools-acquire.md
浏览文件 @
f031c2e8
...
@@ -52,7 +52,7 @@ OpenHarmony provides the following two types of Docker environments for you to q
...
@@ -52,7 +52,7 @@ OpenHarmony provides the following two types of Docker environments for you to q
</td>
</td>
<td
class=
"cellrowborder"
valign=
"top"
headers=
"mcps1.2.6.1.3 "
><p
id=
"p552616549297"
><a
name=
"p552616549297"
></a><a
name=
"p552616549297"
></a>
swr.cn-south-1.myhuaweicloud.com/openharmony-docker/openharmony-docker-standard
</p>
<td
class=
"cellrowborder"
valign=
"top"
headers=
"mcps1.2.6.1.3 "
><p
id=
"p552616549297"
><a
name=
"p552616549297"
></a><a
name=
"p552616549297"
></a>
swr.cn-south-1.myhuaweicloud.com/openharmony-docker/openharmony-docker-standard
</p>
</td>
</td>
<td
class=
"cellrowborder"
valign=
"top"
headers=
"mcps1.2.6.1.4 "
><p
id=
"p1633303300"
><a
name=
"p1633303300"
></a><a
name=
"p1633303300"
></a>
0.0.
4
</p>
<td
class=
"cellrowborder"
valign=
"top"
headers=
"mcps1.2.6.1.4 "
><p
id=
"p1633303300"
><a
name=
"p1633303300"
></a><a
name=
"p1633303300"
></a>
0.0.
5
</p>
</td>
</td>
</tr>
</tr>
<tr
id=
"row5986201731214"
><td
class=
"cellrowborder"
align=
"center"
valign=
"top"
width=
"15.831583158315832%"
headers=
"mcps1.2.6.1.1 "
><p
id=
"p136981216143"
><a
name=
"p136981216143"
></a><a
name=
"p136981216143"
></a>
HPM-based Docker environment
</p>
<tr
id=
"row5986201731214"
><td
class=
"cellrowborder"
align=
"center"
valign=
"top"
width=
"15.831583158315832%"
headers=
"mcps1.2.6.1.1 "
><p
id=
"p136981216143"
><a
name=
"p136981216143"
></a><a
name=
"p136981216143"
></a>
HPM-based Docker environment
</p>
...
@@ -70,6 +70,7 @@ OpenHarmony provides the following two types of Docker environments for you to q
...
@@ -70,6 +70,7 @@ OpenHarmony provides the following two types of Docker environments for you to q
</table>
</table>
## Preparations<a name="section7337134183512"></a>
## Preparations<a name="section7337134183512"></a>
Before using the Docker environment, perform the following operations:
Before using the Docker environment, perform the following operations:
...
@@ -179,13 +180,13 @@ hb set
...
@@ -179,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.
4
docker pull swr.cn-south-1.myhuaweicloud.com/openharmony-docker/openharmony-docker-standard:0.0.
5
```
```
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.
4
docker run -it -v $(pwd):/home/openharmony swr.cn-south-1.myhuaweicloud.com/openharmony-docker/openharmony-docker-standard:0.0.
5
```
```
...
@@ -207,7 +208,7 @@ hb set
...
@@ -207,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.
4
docker run -it -v $(pwd):/home/openharmony openharmony-docker-standard:0.0.
5
```
```
...
...
en/device-dev/quick-start/quickstart-standard-docker-environment.md
浏览文件 @
f031c2e8
...
@@ -63,13 +63,13 @@ bash build/prebuilts_download.sh
...
@@ -63,13 +63,13 @@ bash build/prebuilts_download.sh
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.
4
docker pull swr.cn-south-1.myhuaweicloud.com/openharmony-docker/openharmony-docker-standard:0.0.
5
```
```
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.
4
docker run -it -v $(pwd):/home/openharmony swr.cn-south-1.myhuaweicloud.com/openharmony-docker/openharmony-docker-standard:0.0.
5
```
```
...
@@ -91,7 +91,7 @@ bash build/prebuilts_download.sh
...
@@ -91,7 +91,7 @@ bash build/prebuilts_download.sh
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.
4
docker run -it -v $(pwd):/home/openharmony openharmony-docker-standard:0.0.
5
```
```
...
...
zh-cn/device-dev/get-code/gettools-acquire.md
浏览文件 @
f031c2e8
...
@@ -52,7 +52,7 @@ OpenHarmony为开发者提供了两种Docker环境,以帮助开发者快速完
...
@@ -52,7 +52,7 @@ OpenHarmony为开发者提供了两种Docker环境,以帮助开发者快速完
</td>
</td>
<td
class=
"cellrowborder"
valign=
"top"
headers=
"mcps1.2.6.1.3 "
><p
id=
"p552616549297"
><a
name=
"p552616549297"
></a><a
name=
"p552616549297"
></a>
swr.cn-south-1.myhuaweicloud.com/openharmony-docker/openharmony-docker-standard
</p>
<td
class=
"cellrowborder"
valign=
"top"
headers=
"mcps1.2.6.1.3 "
><p
id=
"p552616549297"
><a
name=
"p552616549297"
></a><a
name=
"p552616549297"
></a>
swr.cn-south-1.myhuaweicloud.com/openharmony-docker/openharmony-docker-standard
</p>
</td>
</td>
<td
class=
"cellrowborder"
valign=
"top"
headers=
"mcps1.2.6.1.4 "
><p
id=
"p1633303300"
><a
name=
"p1633303300"
></a><a
name=
"p1633303300"
></a>
0.0.
4
</p>
<td
class=
"cellrowborder"
valign=
"top"
headers=
"mcps1.2.6.1.4 "
><p
id=
"p1633303300"
><a
name=
"p1633303300"
></a><a
name=
"p1633303300"
></a>
0.0.
5
</p>
</td>
</td>
</tr>
</tr>
<tr
id=
"row5986201731214"
><td
class=
"cellrowborder"
align=
"center"
valign=
"top"
width=
"15.831583158315832%"
headers=
"mcps1.2.6.1.1 "
><p
id=
"p136981216143"
><a
name=
"p136981216143"
></a><a
name=
"p136981216143"
></a>
HPM Docker环境
</p>
<tr
id=
"row5986201731214"
><td
class=
"cellrowborder"
align=
"center"
valign=
"top"
width=
"15.831583158315832%"
headers=
"mcps1.2.6.1.1 "
><p
id=
"p136981216143"
><a
name=
"p136981216143"
></a><a
name=
"p136981216143"
></a>
HPM Docker环境
</p>
...
@@ -70,6 +70,7 @@ OpenHarmony为开发者提供了两种Docker环境,以帮助开发者快速完
...
@@ -70,6 +70,7 @@ OpenHarmony为开发者提供了两种Docker环境,以帮助开发者快速完
</table>
</table>
## 环境准备<a name="section7337134183512"></a>
## 环境准备<a name="section7337134183512"></a>
在使用docker环境前需要先完成以下操作:
在使用docker环境前需要先完成以下操作:
...
@@ -179,13 +180,13 @@ hb set
...
@@ -179,13 +180,13 @@ hb set
1.
获取Docker镜像。
1.
获取Docker镜像。
```
```
docker pull swr.cn-south-1.myhuaweicloud.com/openharmony-docker/openharmony-docker-standard:0.0.
4
docker pull swr.cn-south-1.myhuaweicloud.com/openharmony-docker/openharmony-docker-standard:0.0.
5
```
```
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.
4
docker run -it -v $(pwd):/home/openharmony swr.cn-south-1.myhuaweicloud.com/openharmony-docker/openharmony-docker-standard:0.0.
5
```
```
...
@@ -207,7 +208,7 @@ hb set
...
@@ -207,7 +208,7 @@ hb set
3.
进入OpenHarmony代码根目录执行如下命令,从而进入Docker构建环境。
3.
进入OpenHarmony代码根目录执行如下命令,从而进入Docker构建环境。
```
```
docker run -it -v $(pwd):/home/openharmony openharmony-docker-standard:0.0.
4
docker run -it -v $(pwd):/home/openharmony openharmony-docker-standard:0.0.
5
```
```
...
...
zh-cn/device-dev/quick-start/quickstart-standard-docker-environment.md
浏览文件 @
f031c2e8
...
@@ -63,13 +63,13 @@ bash build/prebuilts_download.sh
...
@@ -63,13 +63,13 @@ bash build/prebuilts_download.sh
1.
获取Docker镜像。
1.
获取Docker镜像。
```
```
docker pull swr.cn-south-1.myhuaweicloud.com/openharmony-docker/openharmony-docker-standard:0.0.
4
docker pull swr.cn-south-1.myhuaweicloud.com/openharmony-docker/openharmony-docker-standard:0.0.
5
```
```
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.
4
docker run -it -v $(pwd):/home/openharmony swr.cn-south-1.myhuaweicloud.com/openharmony-docker/openharmony-docker-standard:0.0.
5
```
```
...
@@ -91,7 +91,7 @@ bash build/prebuilts_download.sh
...
@@ -91,7 +91,7 @@ bash build/prebuilts_download.sh
3.
进入OpenHarmony代码根目录执行如下命令,从而进入Docker构建环境。
3.
进入OpenHarmony代码根目录执行如下命令,从而进入Docker构建环境。
```
```
docker run -it -v $(pwd):/home/openharmony openharmony-docker-standard:0.0.
4
docker run -it -v $(pwd):/home/openharmony openharmony-docker-standard:0.0.
5
```
```
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录