test
This commit is contained in:
9
operations-log.md
Normal file
9
operations-log.md
Normal file
@@ -0,0 +1,9 @@
|
||||
# 操作留痕(Codex)
|
||||
|
||||
- 时间:2025-11-01 19:35(UTC+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` 重新构建验证。
|
||||
Reference in New Issue
Block a user