goharbor / harbor

An open source trusted cloud native registry project that stores, signs, and scans content.
https://goharbor.io
Apache License 2.0
24.23k stars 4.77k forks source link

harbor-prepare-base doens't have arm images #12246

Open hzliangbin opened 4 years ago

hzliangbin commented 4 years ago

I am trying to build a latest version harbor images for arm machine, but some base images is missing. https://hub.docker.com/r/goharbor/harbor-prepare-base/tags is there any instructions to get these images?

btw, more and more developers are trying to run harbor on arm machine. It could be better if offical images or instructions were provided. thank you.

reasonerjt commented 4 years ago

There is another dockerfile to build the "base image"

jukie commented 4 years ago

The dockerhub repo and build scripts could be updated to support multiarch under the same tags. I'm still digging through some of the files but I'll open a PR for this.

Edit: How do images currently get built/deployed into the main Harbor Docker Hub repo? The Makefile and pushimage.sh appear to be catered to user consumption if I'm reading this correctly.

There's other ways to implement this but the process mostly boil down to something similar to this guide or depending on the CI/CD flow we could make changes wherever necessary.

jukie commented 4 years ago

@reasonerjt how are the official images getting pushed to Dockerhub?

MikeK184 commented 2 years ago

push

github-actions[bot] commented 2 years ago

This issue is being marked stale due to a period of inactivity. If this issue is still relevant, please comment or remove the stale label. Otherwise, this issue will close in 30 days.

MikeK184 commented 2 years ago

push

fengzhiguo commented 11 months ago

I met the same situation to run harbor on ARM64 machine on macOS M1/M2. The base image is out of the github and no arm64 version. goharbor/harbor-prepare-base

...

it's wired for the open souce lack of part of it.

psimms-cs commented 1 month ago

Here because I experienced this testing on m1 mac