Skip to content
This repository has been archived by the owner on Jun 25, 2024. It is now read-only.

Support multi-arch images #20

Open
giqbal opened this issue Nov 3, 2021 · 7 comments
Open

Support multi-arch images #20

giqbal opened this issue Nov 3, 2021 · 7 comments

Comments

@giqbal
Copy link

giqbal commented Nov 3, 2021

Thanks for putting this together 🙂

Tried to run this on an Apple silicon Mac and it doesn't play nicely as the image runs in emulation mode. When you adapt it for ARM it works great on Apple silicon. Any chance you could do a multi-arch build to support other platforms?

Happy to contribute with PR as well.

@tseaward
Copy link

tseaward commented Oct 3, 2022

Yes, thanks for this container, I find it very useful 👍.

I had the same issue. The only line I needed to change was the following:

RUN wget --quiet https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda.sh && \

Replaced x86_64 with $(ARCH) where ARCH=aarch64.

Perhaps $(uname -m) would also work?

@giqbal
Copy link
Author

giqbal commented Oct 3, 2022

@tseaward yes had to make the same change

@alexeyegorov
Copy link

Would you mind to do this as a MR? @tseaward @giqbal

@giqbal
Copy link
Author

giqbal commented Dec 8, 2022

@alexeyegorov I don't have access to Apple Silicon machine atm. Will do next time I am near one.

@augusten
Copy link
Collaborator

Hi all! I created a PR in order to support ARM64 here

@alexeyegorov
Copy link

@augusten thanks for your PR. :)

basically, wanted to share with you all here @giqbal @tseaward , that DB connect will probably not be supported for a long time any more. But it will get a much better replacement called Spark Connect. It will be more lightweight client which will execute all the code on the cluster (rather then now executing python locally and pyspark on the cluster).

@augusten
Copy link
Collaborator

@alexeyegorov I added a comment in the PR, this might not be as straightforward as first thought with issues in building the image on a non-ARM machine. I will explore Spark Connect, thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants