Open mohamedawnallah opened 4 months ago
Expected behavior: Harbor should build successfully from the source using make install on arm64 architecture.
make install
arm64
Actual behavior: Attempting to build Harbor from the source using make install on arm64 architecture results in the following errors:
➜ harbor git:(main) make install Note: golang version: 1.22.2 Note: docker version: 25.0.3 Note: Docker Compose version v2.24.6-desktop.1 /usr/local/bin/docker run --rm -u 501:20 -v /Users/mohamedawnallah/Desktop/harbor:/Users/mohamedawnallah/Desktop/harbor -w /Users/mohamedawnallah/Desktop/harbor goharbor/spectral:v6.1.0 lint ./api/v2.0/swagger.yaml rosetta error: failed to open elf at /lib64/ld-linux-x86-64.so.2 make: *** [lint_apis] Error 133
The build completes successfully on a GitHub Codespace with an ephemeral linux x86_64 machine.
linux x86_64
Please specify the versions of the following systems:
fixed by https://github.com/goharbor/harbor/pull/20506
You can ask arm related questions in the harbor-arm repository. https://github.com/goharbor/harbor-arm/issues
Problem Report
Expected Behavior and Actual Behavior:
Expected behavior:
Harbor should build successfully from the source using
make install
onarm64
architecture.Actual behavior:
Attempting to build Harbor from the source using
make install
onarm64
architecture results in the following errors:The build completes successfully on a GitHub Codespace with an ephemeral
linux x86_64
machine.Versions:
Please specify the versions of the following systems: