Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Docs
提交
4fe5102e
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看板
提交
4fe5102e
编写于
8月 12, 2021
作者:
R
raoswing
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update docker standard system
Signed-off-by:
N
raoswing
<
raoswing@qq.com
>
上级
d62d6456
变更
6
显示空白变更内容
内联
并排
Showing
6 changed file
with
18 addition
and
8 deletion
+18
-8
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
docker/standard/build.sh
docker/standard/build.sh
+1
-1
docker/standard/prebuilts_download.sh
docker/standard/prebuilts_download.sh
+3
-1
未找到文件。
docker/standard/CHANGELOG.md
浏览文件 @
4fe5102e
### 0.0.2(2021/08/11)
新增安装llvm-10.0.1-62608和restool工具。
### 0.0.1(2021/06/02)
提供OpenHarmony 2.0版本docker编译环境,预装编译依赖工具。
\ No newline at end of file
docker/standard/CHANGELOG_en.md
浏览文件 @
4fe5102e
### 0.0.2(2021/08/11)
Add the installation of llvm-10.0.1-62608 and restool.
### 0.0.1(2021/06/02)
Provided a Docker build environment for OpenHarmony 2.0 and pre-installed build dependency tools.
\ No newline at end of file
docker/standard/Readme-en.md
浏览文件 @
4fe5102e
...
...
@@ -10,11 +10,11 @@ The Docker image of OpenHarmony is hosted on [HUAWEI Cloud SWR](https://auth.hua
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:
```
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
```
##### **Method 2: Using the Dockerfile to Build a Local Docker Image**
...
...
@@ -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:
```
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
```
### Building for Standard-System Devices (reference memory ≥ 128 MB)
...
...
docker/standard/Readme.md
浏览文件 @
4fe5102e
...
...
@@ -10,11 +10,11 @@ OpenHarmony的Docker镜像托管在HuaweiCloud SWR上。开发者可以通过该
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构建环境。
```
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
```
##### 方式二:通过Dockerfile 构建本地Docker镜像进行构建
...
...
@@ -30,7 +30,7 @@ cd docs/docker/standard
```
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
```
### 编译源码-标准系统类设备(参考内存≥128MB)
...
...
docker/standard/build.sh
浏览文件 @
4fe5102e
...
...
@@ -13,4 +13,4 @@
#!/bin/sh
docker build
-t
openharmony-docker-standard:0.0.
1
.
docker build
-t
openharmony-docker-standard:0.0.
2
.
docker/standard/prebuilts_download.sh
浏览文件 @
4fe5102e
# Copyright (c) 2020 Huawei Device Co., Ltd.
# Copyright
(
c
)
2020 Huawei Device Co., Ltd.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
...
...
@@ -32,6 +32,8 @@ prebuilts,https://repo.huaweicloud.com/harmonyos/compiler/hc-gen/0.65/linux/hc-g
prebuilts/gcc/linux-x86/arm,https://repo.huaweicloud.com/harmonyos/compiler/prebuilts_gcc_linux-x86_arm_gcc-linaro-7.5.0-arm-linux-gnueabi/1.0/prebuilts_gcc_linux-x86_arm_gcc-linaro-7.5.0-arm-linux-gnueabi.tar.gz
prebuilts/clang/host,https://repo.huaweicloud.com/harmonyos/compiler/prebuilts_clang_aosp_linux-x86_64/1.0/prebuilts_clang_aosp_linux-x86_64.tar.gz
prebuilts/sdk/js-loader/build-tools,https://repo.huaweicloud.com/harmonyos/compiler/ace-loader/1.0/ace-loader.tar.gz
prebuilts/clang/ohos/linux-x86_64,https://repo.huaweicloud.com/harmonyos/compiler/clang/10.0.1-62608/linux/llvm.tar.gz
prebuilts/build-tools/common,https://repo.huaweicloud.com/harmonyos/compiler/restool/1.023-c/restool.tar.gz
"""
if
[
!
-d
"
${
bin_dir
}
"
]
;
then
mkdir
-p
"
${
bin_dir
}
"
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录