add README
This commit is contained in:
47
gitea_runner_base/README.md
Normal file
47
gitea_runner_base/README.md
Normal file
@ -0,0 +1,47 @@
|
||||
# Gitea Runner Base
|
||||
|
||||
Gitea Action Runner 基础镜像,基于 `gitea/act_runner` 添加常用构建工具。
|
||||
|
||||
## 基础镜像
|
||||
|
||||
- `gitea/act_runner:latest` (Alpine Linux)
|
||||
|
||||
## 包含工具
|
||||
|
||||
| 类别 | 工具 |
|
||||
|------|------|
|
||||
| 版本控制 | git, git-lfs |
|
||||
| 网络工具 | curl, wget, ca-certificates, openssl |
|
||||
| 压缩工具 | tar, gzip, bzip2, xz, zip, unzip |
|
||||
| 构建工具 | make, bash, coreutils, findutils, grep, sed, gawk |
|
||||
| 其他工具 | jq, tree |
|
||||
|
||||
## 构建
|
||||
|
||||
```bash
|
||||
# 使用构建脚本
|
||||
./rebuild.sh gitea_runner_base
|
||||
|
||||
# 或直接使用 docker build
|
||||
docker build -t timi/gitea_runner_base:latest ./gitea_runner_base
|
||||
```
|
||||
|
||||
## 使用
|
||||
|
||||
此镜像作为其他语言环境镜像的基础,通常不直接使用。
|
||||
|
||||
如需直接使用:
|
||||
|
||||
```bash
|
||||
docker run --rm -it timi/gitea_runner_base:latest /bin/bash
|
||||
```
|
||||
|
||||
## 扩展
|
||||
|
||||
创建新的语言环境镜像时,以此镜像为基础:
|
||||
|
||||
```dockerfile
|
||||
FROM timi/gitea_runner_base:latest
|
||||
|
||||
# 添加语言环境...
|
||||
```
|
||||
Reference in New Issue
Block a user