Skip to content

Feature/s6 overlay#5

Merged
Tinywan merged 5 commits intomainfrom
feature/s6-overlay
Feb 4, 2026
Merged

Feature/s6 overlay#5
Tinywan merged 5 commits intomainfrom
feature/s6-overlay

Conversation

@Tinywan
Copy link
Copy Markdown
Owner

@Tinywan Tinywan commented Feb 4, 2026

No description provided.

Tinywan and others added 5 commits January 12, 2026 22:26
- 移除 supervisord 和 Python 依赖
- 使用 S6 Overlay v3 作为进程管理器(更轻量)
- 创建 webman 服务配置
- 预计可减少约 10MB 镜像大小

Co-Authored-By: Claude <noreply@anthropic.com>
对于单一应用容器,不需要进程管理器
- 移除 S6 Overlay 和 supervisord 依赖
- 直接使用 CMD 启动 webman
- 镜像大小从 332MB 减少到 311MB(-21MB)

Co-Authored-By: Claude <noreply@anthropic.com>
- 添加 S6_OVERLAY_VERSION 构建参数
- 更新镜像描述
- 安装 S6 Overlay v3 (noarch + x86_64)
- 设置 /init 为入口点

Co-Authored-By: Claude <noreply@anthropic.com>
1. S6 Overlay 安装优化:合并下载、解压、清理为单层,减少镜像层数
2. 添加 entrypoint.sh:自动检测并安装 Composer 依赖
3. 清理优化:添加 PECL 缓存清理 /root/.cache/pecl
4. Composer 优化:添加版本验证和 /tmp/* 清理

Co-Authored-By: Claude <noreply@anthropic.com>
@Tinywan Tinywan merged commit 7f38b21 into main Feb 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants