lensesio / fast-data-dev

Kafka Docker for development. Kafka, Zookeeper, Schema Registry, Kafka-Connect, , 20+ connectors
https://lenses.io
Apache License 2.0
2.02k stars 333 forks source link

Changes to support arm64 (and Apple M1) #185

Closed dougdonohoe closed 1 year ago

dougdonohoe commented 2 years ago

Building off of great work by @faberchri, I modified the caddy and gotty installs to work for both arm64 and amd64.

The end of the README.md includes instructions on how to build the image using docker buildx. Not sure where this should actually go, but happy to move it elsewhere.

I also published the image to https://hub.docker.com/r/dougdonohoe/fast-data-dev.

docker pull dougdonohoe/fast-data-dev
ericnograles commented 2 years ago

Amazing, can't wait for this to land in mainline!

egel commented 2 years ago

I've successfully tested it and working well on M1 Pro 16" 👍

lcustodio commented 2 years ago

@andmarios, do you have any updates on this PR? I wonder if there is any underlining issue or if you didn't have time to test it yet.

We used it more widely as most engineers are upgrading to M1 macs.

johanhugg commented 2 years ago

Would love to see this merged asap!

conradwt commented 2 years ago

I switched to using Confluent Platform with Docker Compose and it works great with Apple Silicon. Also, they have a build that doesn't require ZooKeeper which can be found here.

andmarios commented 1 year ago

Merged finally after quite some time!

I am sorry for the huge delay; it was due to both capacity and blockers from our product. The lenses/box image is essentially the lensesio/fast-data-dev with Lenses on top, a great way to explore Kafka. :)

There was a huge workstream behind the scenes to prepare the product and CICD for arm64 support, and the developer-focused images (fast-data-dev and box) were close to last on the long chain of required changes. Actually, Box is next and I hope it will come out in the next few days.

Anyhow, thank you for your work; it was great! :100:

The arm64 images for fast-data-dev are already on docker hub. :smile: