-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ENH] - Create multi-platform images #1737
Comments
I would love to see this. Just to give an example of why it's important: Just got an M1 Mac and tried to re-use a VS Code devcontainer I have that's based on jupyter/datascience-notebook. A build script in one of my projects, which used to run just fine, now runs out of memory, because the AMD devcontainer is being run on an ARM chip and thus has to go through some semi-supported emulation business that I don't fully understand, except to note that out-of-memory errors are documented as something to be expected. I have to physically go to my PC to run that build script...kind of the opposite of the point of Docker. While I guess I could add the In other words, things got worse when I bought a better computer. And there's no workaround. I'm not complaining; I'm just trying to clarify the significance of @mathbunnyru's issue. Thanks for opening it! |
Thank you for sharing your use case. I think right now you can use your have Dockerfile look like |
Not sure if it completely fits current building setup, but maybe buildx could be used to simplify this: |
Unfortunately, |
@nathancarter @consideRatio @tomharvey @msemelman this is fixed now, please, take a look. |
Massive thanks @mathbunnyru - my workflows just got a lot simpler! |
Wieee great work on this @mathbunnyru!!!!! |
What docker image(s) is this feature applicable to?
all-spark-notebook, base-notebook, datascience-notebook, minimal-notebook, pyspark-notebook, r-notebook, scipy-notebook, tensorflow-notebook
What changes are you proposing?
It would be great to merge
amd64
image withaarch64
image with the same tag into a single multi-platform imageHow does this affect the user?
It would allow users not to specify
aarch64-
prefix.Also, it will make
make build/<somestack>-notebook
work as expected, because it will always use correct parent image.Anything else?
Implementation detail - this should probably be done in a separate reusable workflow, after pushing all images to DockerHub.
It would take a look which tags were pushed for
amd64
and which foraarch64
and it would merge these tags.The text was updated successfully, but these errors were encountered: