Files
server/operations-log.md
2025-11-01 19:31:37 +08:00

10 lines
694 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 操作留痕Codex
- 时间2025-11-01 19:35UTC+8
- 动作:修改 Dockerfile 创建应用用户命令
- 位置Dockerfile运行阶段“创建应用用户和目录”
- 变更:将原使用 addgroup/adduser 的写法替换为兼容 Debian/Ubuntu 与 Alpine 的健壮分支逻辑(优先使用 `groupadd/useradd`,回退到 `addgroup/adduser` 并按是否支持 `--gid` 区分参数)。
- 目的修复构建阶段报错“Option g is ambiguous (gecos, gid, group)”,避免不同基础镜像工具链参数差异导致失败。
- 工具apply_patch补丁写入
- 结果:补丁应用成功,建议以 `docker build --no-cache` 重新构建验证。