Skip to content

Conversation

@chiichen
Copy link
Contributor

@chiichen chiichen commented Apr 10, 2025

What this PR does / why we need it?

Support riscv64 #5338

Summary of your change

  1. Add riscv to goarch in goreleaser
  2. Correct Arch related codes

Ref:
1Panel-dev/docs#33
1Panel-dev/installer#38

Please indicate you've done the following:

  • Made sure tests are passing and test coverage is added if needed.
  • Made sure commit message follow the rule of Conventional Commits specification.
  • Considered the docs impact and opened a new docs issue or PR with docs changes if needed.

@f2c-ci-robot
Copy link

f2c-ci-robot bot commented Apr 10, 2025

Adding the "do-not-merge/release-note-label-needed" label because no release-note block was detected, please follow our release note process to remove it.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@f2c-ci-robot
Copy link

f2c-ci-robot bot commented Apr 10, 2025

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign zhengkunwang223 for approval. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@chiichen chiichen changed the title Feat support release riscv feat: support riscv64 Apr 10, 2025
@wanghe-fit2cloud
Copy link
Member

麻烦您在 riscv64 设备上测试安装一下,解压后运行 install.sh 脚本即可完成安装。
https://resource.1panel.pro/stable/v1.10.29-wanghe/release/1panel-v1.10.29-wanghe-linux-riscv64.tar.gz

@chiichen
Copy link
Contributor Author

麻烦您在 riscv64 设备上测试安装一下,解压后运行 install.sh 脚本即可完成安装。 https://resource.1panel.pro/stable/v1.10.29-wanghe/release/1panel-v1.10.29-wanghe-linux-riscv64.tar.gz

好的,设备暂时不在手上,要过段时间

@wanghe-fit2cloud
Copy link
Member

麻烦您在 riscv64 设备上测试安装一下,解压后运行 install.sh 脚本即可完成安装。 https://resource.1panel.pro/stable/v1.10.29-wanghe/release/1panel-v1.10.29-wanghe-linux-riscv64.tar.gz

好的,设备暂时不在手上,要过段时间

好的。

@wanghe-fit2cloud wanghe-fit2cloud changed the title feat: support riscv64 WIP: support riscv64 Apr 11, 2025
@chiichen
Copy link
Contributor Author

chiichen commented Apr 16, 2025

我发现docker-engine似乎并没有官方的riscv软件包,只找到一个https://github.com/carlosedp/riscv-bringup
目前使用podman能满足需要#1070 (comment)

@chiichen
Copy link
Contributor Author

chiichen commented Apr 16, 2025

image
@wanghe-fit2cloud 看起来安装流程除了docker外一切正常,我个人认为可以先在文档里注明,在riscv64下安装需要先手动安装podman并软链接为docker来模拟docker环境,在2.x正式支持使用podman之后可以再考虑修改install.sh,避免用户在不知情的情况下实际上安装了podman而不是docker

@chiichen chiichen changed the title WIP: support riscv64 feat: support riscv64 Apr 16, 2025
@chiichen chiichen changed the title feat: support riscv64 feat: basic support riscv64 Apr 16, 2025
@wanghe-fit2cloud
Copy link
Member

image @wanghe-fit2cloud 看起来安装流程除了docker外一切正常,我个人认为可以先在文档里注明,在riscv64下安装需要先手动安装podman并软链接为docker来模拟docker环境,在2.x正式支持使用podman之后可以再考虑修改install.sh,避免用户在不知情的情况下实际上安装了podman而不是docker

一些已支持 riscv64 架构的操作系统,官方已提供了 Docker 的在线安装方式,可直接使用。如有需要,也可考虑通过 Docker 官方源码自行编译安装。

关于是否支持 Podman,我们会在后续版本中考虑是否支持。

@wanghe-fit2cloud wanghe-fit2cloud merged commit 83ef41c into 1Panel-dev:dev Apr 17, 2025
1 check was pending
@chiichen chiichen mentioned this pull request Aug 9, 2025
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants