feat: 新增 runtime-tomcat10 镜像与 java 示例(springboot-jar17 / spring-war17)

This commit is contained in:
2026-11-15 09:40:11 +08:00
parent e2051c623c
commit 6fcc7ad6a4
35 changed files with 953 additions and 2 deletions
+11
View File
@@ -0,0 +1,11 @@
#!/usr/bin/env bash
# 在示例目录下构建示例镜像(编译 + 运行两阶段均在本机 docker 内完成)
set -euo pipefail
cd "$(dirname "$0")"
IMAGE=${IMAGE:-registry.cn-shanghai.aliyuncs.com/odboy/kenaito:demo-springboot-jar17}
docker build -t "${IMAGE}" .
if [ "${PUSH:-0}" = "1" ]; then
docker push "${IMAGE}"
fi