Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Couldn't build harbor arm64 #61

Open
raspifr opened this issue Oct 26, 2024 · 0 comments
Open

Couldn't build harbor arm64 #61

raspifr opened this issue Oct 26, 2024 · 0 comments

Comments

@raspifr
Copy link

raspifr commented Oct 26, 2024

Hi,

I try to build harbor-arm on a raspberry pi arm64 (aarch64) but I couldn't.

  • make download: OK
  • make compile_redis: OK
  • make prepare_arm_data: OK
  • make pre_update: OK
  • make compile COMPILETAG=compile_golangimage: KO
    ==> exec /usr/bin/swagger: exec format error

I tried to force the latest swagger version in file tools/swagger/Dockerfile but no change.
I tried to download swagger binary using curl -fsSL -o /usr/bin/swagger https://github.com/go-swagger/go-swagger/releases/download/v0.31.0/swagger_linux_arm64 && chmod +x /usr/bin/swagger (specified in tools/swagger/Dockerfile) and to delete "RUN" line in tools/swagger/Dockerfile but nothing changes.

I've no idea for this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant