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

Require image for ARM64 architecture #16959

Closed
odidev opened this issue Jun 7, 2022 · 3 comments
Closed

Require image for ARM64 architecture #16959

odidev opened this issue Jun 7, 2022 · 3 comments
Assignees

Comments

@odidev
Copy link

odidev commented Jun 7, 2022

Hi Team,

I am trying to use goharbor/harbor on ARM64 architecture but it seems it is not available for arm64.

There seem to be multiple dockerfiles and docker images present, from which harbor-core is the main docker image using make/photon/core/Dockerfile.

So, I tried to build goharbor/harbor-core image on my arm64 local machine using command docker build -t image_name . but it is failing for FROM ${harbor_base_namespace}/harbor-core-base:${harbor_base_image_version} command and giving invalid reference format error.

After investigating I found that it is using dockerfile.base as the base image in above error, so I have successfully build this base image from dockerfile.base on my local arm64 machine without making any changes in dockerfile and also successfully pushed to the docker hub.

I have used the above base image to build the arm64 docker image for goharbor/harbor-core but it is failing with below error on both amd64 and arm64 architecture.

Step 7/15 : COPY ./make/photon/core/harbor_core /harbor/ 

COPY failed: file not found in build context or excluded by .dockerignore: stat make/photon/core/harbor_core: file does not exist 

I checked this file but it is unavailable.

It will be very helpful if the image is released for the ARM64 platform.

Do you have any plans to release an ARM64 image?

If required, I am happy to contribute. But as a start, can you please provide me with some pointers on the above issues?

@zyyw
Copy link
Contributor

zyyw commented Jun 13, 2022

please open an issue in this repo: https://github.com/goharbor/harbor-arm

@MkAnHui
Copy link

MkAnHui commented Oct 28, 2022

for harbor-arm
harbor_core not foud , you should check. command return success make compile COMPILETAG=compile_golangimage

@laurivosandi
Copy link

Please provide multi-arch Docker images that work on both AMD64 and ARM64

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

5 participants