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.
解决了现有 docker 映像的这些问题:
改成仅 release 时 build image
改成多文件,处理目录和文件权限以支持 nonroot
docker.yml
有许多参数相互冲突,比如最开头规定只在main
分支改动和release
时运行,但下面又定义 PR 也可运行删掉无用的,改为仅 release
改成UTC,因为不只是中国人在用,而且服务器大多在非中国
改为默认写 error,自动创建卷来持久化,处理目录和文件权限以支持 nonroot
xray-install
脚本不一致改为一样的
chainguard/stable:amd64
,实际上是应该分 arch 的,虽然里面这种 image 没有 ELF,但不清楚会有什么不好影响,这毕竟是非标准做法考虑到 chainguard 支持的架构不如
google distroless
多,因此改用后者,并且现在支持更多架构改成 loyalsoldier,因此 没有
-ls
标签了所以换成
golang:latest
,有需要的话也可以指定版本,以前是指定的,为啥yuhan改为latest了用法:
版本号是
latest
、或者是 tag 去掉 v,比如25.5.18
架构: