CyberChef icon indicating copy to clipboard operation
CyberChef copied to clipboard

Feature request: Add Docker builds for arm/v7

Open nickshanks347 opened this issue 3 years ago • 13 comments

As the title says, it would be great if you could compile Docker builds for armv7.

nickshanks347 avatar Dec 10 '22 00:12 nickshanks347

Also for aarch64 please :-)

ismail avatar Feb 13 '24 08:02 ismail

We initially avoided this due to the overhead of building using QEMU. A 3 minute build was taking 30 minutes. Is there a better way to build for other arches?

a3957273 avatar Feb 13 '24 11:02 a3957273

Unfortunately, for Linux that still seems to be the case, but does 30 minutes really matter if this is done only for release builds?

ismail avatar Feb 13 '24 12:02 ismail

I'd be willing to merge in ARM builds if it was only done when a new tag was created. For anyone looking to take this on, there's an example of QEMU + multi-arch building on the original Docker pull request. Link: https://github.com/gchq/CyberChef/pull/1699/commits/0da30813da9903ba40e03842fe8d2eb613e95f22#diff-a62ff2d992534310d441210a2a8b31711c7e515c326a770d8b31f54a642d3f46

a3957273 avatar Apr 14 '24 00:04 a3957273

It's now possible to use ARM64 for GitHub actions, see https://github.blog/2024-06-03-arm64-on-github-actions-powering-faster-more-efficient-build-systems/

ismail avatar Jun 05 '24 06:06 ismail

My pi is ready.

furyhawk avatar Jun 05 '24 09:06 furyhawk

@furyhawk This is native, so it shouldn't need QEMU setup.

ismail avatar Jun 05 '24 09:06 ismail

Very exciting! Would happily accept a PR that adds builds for arm/v7 :)

EDIT: But would look for it to use a native ARM runner, previously we found that a QEMU build took way too longer, like 30+ minutes!

a3957273 avatar Jun 11 '24 10:06 a3957273