Conversation
- 移除 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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.