Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

朋友们帮忙构建一个loong64架构的nginxui-docker镜像呗#1370

huayuprophet started this conversation inGeneral
Discussion options

万分感谢,或者教教我怎么构建。

源码中的dockerfile是不行的,因为他基于nginxuibase镜像,而该镜像没有基于loong64的发行版。

You must be logged in to vote

Replies: 2 comments 1 reply

Comment options

我先研究下怎么在 macOS 上装个龙芯的虚拟机

You must be logged in to vote
1 reply
@huayuprophet
Comment options

可以使用qemu-user-static工具实现跨架构二进制翻译。
或者使用binfmt镜像可以实现同样效果,然后buildx挂架构交叉编译。
详情可以参考龙芯云的官方文档说明
https://loongson-cloud-community.github.io/Loongson-Cloud-Community/%E5%85%B6%E4%BB%96%E6%96%87%E6%A1%A3/%E8%B7%A8%E5%B9%B3%E5%8F%B0%E7%BC%96%E8%AF%91%E8%BF%90%E8%A1%8C/

Comment options

Nginx 镜像可以使用ghcr.io/loong64/nginx

构建好nginx-ui-base 后修改下DockerfileENTRYPOINT

改成自己的shell 或者supervisord 启动nginxnginx-ui 即可

You must be logged in to vote
0 replies
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Category
General
Labels
None yet
3 participants
@huayuprophet@0xJacky@wojiushixiaobai

[8]ページ先頭

©2009-2025 Movatter.jp