基于 Apache Tomcat 的多 JDK 支持 Docker 镜像。
- Workflow:
.github/workflows/build-dragonwell.yml - 镜像标签:
9.0.x-dw - JDK: 阿里 Dragonwell 8(自动获取最新版)
- Workflow:
.github/workflows/build-bellsoft.yml - 镜像标签:
9.0.x-bs - JDK: BellSoft Liberica 8(自动获取最新版)
images/tomcat/- Tomcat Docker 镜像配置
- 仓库:
registry.cn-hangzhou.aliyuncs.com - 镜像名:
saisi/tomcat
- 进入 Issues 页面
- 点击 "New issue"
- 选择 "构建镜像" 模板
- 填写表单:
- JDK 类型:可选 Dragonwell 8、BellSoft 8 或全部构建
- 备注说明:其他需要说明的信息(可选)
- 提交 issue 后自动触发构建,始终使用最新版本
- 进入 Actions 标签
- 选择对应的 workflow
Build and Push Dragonwell Image(Dragonwell JDK)Build and Push BellSoft Image(BellSoft JDK)
- 点击 "Run workflow"
- 点击 "Run workflow",始终使用最新版本
# Dragonwell JDK
docker pull registry.cn-hangzhou.aliyuncs.com/saisi/tomcat:9.0.115-dw
# BellSoft JDK
docker pull registry.cn-hangzhou.aliyuncs.com/saisi/tomcat:9.0.115-bs| 变量 | 说明 | 默认值 |
|---|---|---|
HTTP_PORT |
HTTP 端口 | 9080 |
HTTPS_PORT |
HTTPS 端口 | 9443 |
CONN_TIMEOUT |
连接超时 (ms) | 5000 |
SERVER_NAME |
Server 头 | Web Server |
HEADER_SIZE |
请求头大小 | 8192 |
- 9080 (HTTP)
- 9443 (HTTPS)
- 162/UDP (SNMP)