rpi-couchdb icon indicating copy to clipboard operation
rpi-couchdb copied to clipboard

Aarch64 support

Open sahilph opened this issue 7 years ago • 7 comments

Support for 64 Bit

sahilph avatar May 22 '18 19:05 sahilph

Thanks for adding aarch64 support!

What's the current state? I see on Docker Hub, you already have arm64 versions for 2.1.1 (and 1.7.1). Do you plan to have them also for 2.3.1?

UncleSamSwiss avatar Sep 24 '19 13:09 UncleSamSwiss

@UncleSamSwiss good question ... maybe you wanna help us there ;P

we dropped support with 2.2.0 and after cause of lack of testing abilities ;)

dogi avatar Sep 24 '19 18:09 dogi

Let me know how I can help.

I looked through the changes and saw that you (partially) changed to a multi stage build. I would have suggested this in a separate issue as it could potentially reduce the image size (and no need to remove the wget package ;-). I'm a bit worried that mixing ARM and ARM 64 in the same build would create a mix of binaries.

I tried yesterday to build CouchDB 2.3.1 on ARM64 based on balenalib/raspberrypi4-64-debian:stretch and didn't have any issues (besides some GPG check fails on the Balena builder). I didn't try to run it, so there might still be runtime issues. The given base image is probably still too big as we basically only need balenalib/aarch64-debian:stretch-run (no need for RPi4 specific packages).

UncleSamSwiss avatar Sep 25 '19 05:09 UncleSamSwiss

@UncleSamSwiss cool!

sahil was one of our intern, and he already back to school, you can take over this PR for sure @UncleSamSwiss 😄

empeje avatar Sep 25 '19 06:09 empeje

@empeje well, that's sad...

I had a quick look at your Travis CI and found that none of the builds are running through (returned a non-zero code: 2) but they still report success (the shell script isn't exiting on error). In addition to that, the CouchDB 2.3.1 version on Docker Hub was probably uploaded manually as there is no Travis build at all for 2.3.1.

I'm sorry, but evaluating how much effort it would be to get Travis working again, add 2.3.1 and then do all the work required for an arm64 version, I don't see myself capable and willing to invest that much time.

UncleSamSwiss avatar Sep 25 '19 09:09 UncleSamSwiss

Hmm interesting,

I time poor right now, but this aarch64 support is our homework, I'll check it again soon.

empeje avatar Sep 25 '19 10:09 empeje

@empeje :)

dogi avatar Sep 25 '19 22:09 dogi