docker-erlang-otp icon indicating copy to clipboard operation
docker-erlang-otp copied to clipboard

Builds for linux/arm/v6

Open Zinggi opened this issue 3 years ago • 4 comments

Hi there :wave: I've got a Raspberry Pi Zero, which has an armv6 architecture. Unfortunately, this image only provides linux/arm/v7. I looked at the build script, and it looks like it would be as easy as adding arm32v6 in there.

Looking at other official images, e.g. python, I see that their script fetches the architectures from here: https://github.com/docker-library/official-images/blob/master/library/python#L19

Maybe that approach could work here as well?

I'm currently in the process of cross-compiling this + the derived elixir image myself to check if it works. But it's taking hours...

Zinggi avatar Apr 17 '21 14:04 Zinggi

@Zinggi just an FYI that I make builds for armv6 on my balena-erlang repo. They're designed to run on BalenaOS (ie they make use of some nicenesses that are in their base images) but they run perfectly fine on any other Linux too. Hope that helps.

jimsynz avatar Apr 18 '21 22:04 jimsynz

@jimsynz That sounds great, I'll give those a try. And you also have elixir :heart:

Zinggi avatar Apr 19 '21 17:04 Zinggi

@jimsynz Thank you so much, that literally saved my day! These images work well for me.

Zinggi avatar Apr 19 '21 19:04 Zinggi

My pleasure. Glad that they're working for you @Zinggi.

jimsynz avatar Apr 19 '21 20:04 jimsynz