[GH-ISSUE #975] 请原谅我还是没有理解,我应该如何构建带自定义nginx插件的nginx-ui镜像 #517

Closed
opened 2026-02-26 12:08:35 +03:00 by kerem · 2 comments
Owner

Originally created by @chung1912 on GitHub (Apr 18, 2025).
Original GitHub issue: https://github.com/0xJacky/nginx-ui/issues/975

感谢大佬在https://github.com/0xJacky/nginx-ui/issues/973里面的解释,但是我完全没有看懂 bash -c "$(curl -L https://raw.githubusercontent.com/0xJacky/nginx-ui/main/install.sh)" @ install这个命令怎么在docker构建的时候使用,dockerfile的源码里面没有看到这个,文档说明是在宿主机上直接安装的命令,是否可以更具体一点的明示?

比如,我现在已经有了一个加了插件的构建好的nginx基础镜像,名叫 nginx-added-models:1.27.1-alpha,基于现有的这个基础镜像,我如何基于bash -c "$(curl -L https://raw.githubusercontent.com/0xJacky/nginx-ui/main/install.sh)" @ install命令,来最终形成一个nginx-ui镜像?

Originally created by @chung1912 on GitHub (Apr 18, 2025). Original GitHub issue: https://github.com/0xJacky/nginx-ui/issues/975 感谢大佬在`https://github.com/0xJacky/nginx-ui/issues/973`里面的解释,但是我完全没有看懂 `bash -c "$(curl -L https://raw.githubusercontent.com/0xJacky/nginx-ui/main/install.sh)" @ install`这个命令怎么在docker构建的时候使用,dockerfile的源码里面没有看到这个,文档说明是在宿主机上直接安装的命令,是否可以更具体一点的明示? 比如,我现在已经有了一个加了插件的构建好的nginx基础镜像,名叫 `nginx-added-models:1.27.1-alpha`,基于现有的这个基础镜像,我如何基于`bash -c "$(curl -L https://raw.githubusercontent.com/0xJacky/nginx-ui/main/install.sh)" @ install`命令,来最终形成一个nginx-ui镜像?
kerem closed this issue 2026-02-26 12:08:35 +03:00
Author
Owner

@0xJacky commented on GitHub (Apr 18, 2025):

抱歉,我刚才重新看了一下,可能还是有点问题,docker image 里没有 systemctl 可能会导致安装失败。

目前我暂时没办法提供技术指导,因为我没有尝试过自定义的 nginx 去构建镜像。建议寻求 ChatGPT 和 Deepseek 获取帮助。
未来,我们会提供只有 nginx-ui 的镜像,这样可以管理其他的 nginx。

如有更多问题,请在 Discussion 中提 Q&A,感谢!

<!-- gh-comment-id:2814962432 --> @0xJacky commented on GitHub (Apr 18, 2025): 抱歉,我刚才重新看了一下,可能还是有点问题,docker image 里没有 systemctl 可能会导致安装失败。 目前我暂时没办法提供技术指导,因为我没有尝试过自定义的 nginx 去构建镜像。建议寻求 ChatGPT 和 Deepseek 获取帮助。 未来,我们会提供只有 nginx-ui 的镜像,这样可以管理其他的 nginx。 如有更多问题,请在 Discussion 中提 Q&A,感谢!
Author
Owner

@0xJacky commented on GitHub (Apr 18, 2025):

后续我们会提供软件源的安装方式,可以等一段时间。目前我们的工作重点在于实现 v2.0.0 正式版的功能。

<!-- gh-comment-id:2815004085 --> @0xJacky commented on GitHub (Apr 18, 2025): 后续我们会提供软件源的安装方式,可以等一段时间。目前我们的工作重点在于实现 v2.0.0 正式版的功能。
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nginx-ui#517
No description provided.