refactor: 目录重组,runtime-python3→runtime-python310、tools-ansible→app/ansible、dotnet6 示例→demo/dotnet6,并同步 README

This commit is contained in:
2026-02-14 21:33:46 +08:00
parent 5aa2b62299
commit 7da5941183
21 changed files with 7 additions and 14 deletions
+6 -4
View File
@@ -5,6 +5,8 @@
```
image/ 自建镜像:每个目录 = Dockerfile + build.sh,目录名即镜像 tag
app/ 部署编排:每个目录 = docker-compose.yml + install.sh / shutdown.sh + run.md(+demo.png)
app/ansible 例外:基于 runtime-python310 构建 ansible 镜像
demo/ 构建示例:演示如何基于 image/ 下的镜像做两阶段构建
```
### 使用约定
@@ -25,15 +27,15 @@ app/ 部署编排:每个目录 = docker-compose.yml + install.sh / shutdown
| `image/runtime-jdk11` | `kenaito:runtime-jdk11` | 上者 / JDK 11 | 运行环境,仅 JDK |
| `image/runtime-jdk17` | `kenaito:runtime-jdk17` | 上者 / JDK 17 | 运行环境,仅 JDK |
| `image/runtime-jdk21` | `kenaito:runtime-jdk21` | 上者 / JDK 21.0.2 | 运行环境,仅 JDK |
| `image/runtime-python3` | `kenaito:runtime-python3` | 上者 / Python 3.10.0 | 运行环境,Python + pip 源(`pip.conf`) |
| `image/runtime-python310` | `kenaito:runtime-python310` | 上者 / Python 3.10.0 | 运行环境,Python + pip 源(`pip.conf`) |
| `image/runtime-dotnet6` | `kenaito:runtime-dotnet6` | 上者 / ASP.NET Core 运行时 6.0.35 | 运行环境,仅运行时 |
| `image/runtime-dotnet8` | `kenaito:runtime-dotnet8` | 上者 / ASP.NET Core 运行时 8.0.x | 运行环境,仅运行时 |
| `image/runtime-dotnet9` | `kenaito:runtime-dotnet9` | 上者 / ASP.NET Core 运行时 9.0.x | 运行环境,仅运行时 |
| `image/compile-dotnet6` | `kenaito:compile-dotnet6` | 上者 / .NET SDK 6.0.427 | 编译环境(SDK + 编译工具链),附两阶段构建示例 `demo/` |
| `image/compile-dotnet6` | `kenaito:compile-dotnet6` | 上者 / .NET SDK 6.0.427 | 编译环境(SDK + 编译工具链),两阶段构建示例见 `demo/dotnet6` |
| `image/compile-dotnet8` | `kenaito:compile-dotnet8` | 上者 / .NET SDK 8.0.403 | 编译环境(SDK + 编译工具链) |
| `image/compile-dotnet9` | `kenaito:compile-dotnet9` | 上者 / .NET SDK 9.0.100-rc.2 | 编译环境(SDK + 编译工具链) |
| `image/proxy-tengine3` | `kenaito:proxy-tengine3` | 上者 / Tengine 3.1.0 源码编译 | 反向代理 / Web 服务器,自定义 `nginx.conf` |
| `image/tools-ansible` | `kenaito:tools-ansible` | 上者 / Python 3.10.0 + Ansible | 运维工具镜像 |
| `app/ansible` | `kenaito:ansible` | 上者 / Ansible(基于 runtime-python310) | 运维工具镜像 |
### 部署编排
@@ -73,4 +75,4 @@ app/ 部署编排:每个目录 = docker-compose.yml + install.sh / shutdown
- java 适用于 java 应用
- 编译与运行:`runtime-jdk*`(含 JDK,可直接编译后运行)
- python 适用于 python 应用
- 编译与运行:`runtime-python3`(已配置 pip 镜像源)
- 编译与运行:`runtime-python310`(已配置 pip 镜像源)