distribution-library-image icon indicating copy to clipboard operation
distribution-library-image copied to clipboard

support arm64 system

Open longquan7 opened this issue 6 years ago • 8 comments

I was modify the Dockerfile the first line in order to support arm64. Change "From alpine:3.5" to "From aarch64/alpine:3.5" that would support arm64 system. So How to use one Dockerfile to support different syatem than x86 and arm64.

longquan7 avatar Aug 04 '17 01:08 longquan7

I can build images on arm64. I can use ansible on arm64. I can not deploy from arm64 to other arm64 because registry image is x86-64 only ;(

hrw avatar Oct 12 '17 10:10 hrw

I also want the registry running on arm64 architecture. I am currently trying to build some stuff for raspberry pi at home, and currently the workaround is building the image on all the swarm nodes or using images from dockerhub that are not maintained. Neither are reliable or preferred.

I'm sure I could fork the official registry repository and try to build it on my raspberry pi, but I believe official support would be more appreciated.

And from what I've read the rpi3 runs the Cortex A-53 which is arm 64bit, even though the kernel support is not there yet.

dansta avatar Dec 31 '17 20:12 dansta

@dansta rpi3 can run arm64 kernel and userspace for quite long time.

hrw avatar Dec 31 '17 20:12 hrw

Any update on this issue?

The PR #74 submitted by @tianon looks to solve ARM64 and would ensure the happiness of quite a few users. :smile:

lag-linaro avatar Jul 05 '18 05:07 lag-linaro

It's probably more palatable to the maintainers if we get it on Alpine 3.8 and thus a newer version of Go. It'd be most ideal if we could get officially published static binary releases, but that's a lot more work than building here instead.

tianon avatar Jul 05 '18 06:07 tianon

Is there any reason why moving to Alpine 3.8 wouldn't 'just work'?

lag-linaro avatar Jul 05 '18 06:07 lag-linaro

I see other people asking for this now too.

@tianon what is holding this up presently?

We have this repo with your PR applied and it's building/running fine.

To test simply do docker pull laglinaro/distribution-library-image.

lag-linaro avatar Oct 10 '18 07:10 lag-linaro

Is there anything I can do to push this along?

lag-linaro avatar Nov 01 '18 10:11 lag-linaro