jupyterlite / xeus-python-kernel

xeus-python in JupyterLite
https://xeus-python-kernel.readthedocs.io
BSD 3-Clause "New" or "Revised" License
30 stars 19 forks source link

Specify linux/amd64 for docker image #91

Closed jzavala-gonzalez closed 1 year ago

jzavala-gonzalez commented 1 year ago

I was trying to build the docker image on a Mac but kept getting libmamba "cannot find requested empack" errors. Turns out it was because docker was defaulting to using a linux aarch64 image which doesn't have packages available on the mamba channels. Solved it by specifying the linux/amd64 platform such that docker should use that image and its corresponding packages. Maybe other platforms are supported? Any ideas to not force emulating linux/amd64 are welcome. Nevertheless seems like a good default just in case.

martinRenou commented 1 year ago

Thanks!

Maybe other platforms are supported?

Yes other platforms are supported, this Dockerfile is only for building the dev package. We could actually get rid of that dockerfile for the dev install and run all those micromamba and empack tasks on the dev machine.