Skip to content
This repository was archived by the owner on Feb 14, 2024. It is now read-only.

Specify linux/amd64 for docker image #91

Merged

Conversation

jzavala-gonzalez
Copy link
Contributor

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.

Forces emulation for systems that default to other non-supported platforms
@martinRenou
Copy link
Member

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.

@martinRenou martinRenou merged commit d6f0f45 into jupyterlite:main Dec 20, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants