Skip to content
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

Investigate using Docker Bake for Example Notebook Images #215

Open
thesuperzapper opened this issue Feb 17, 2025 · 0 comments
Open

Investigate using Docker Bake for Example Notebook Images #215

thesuperzapper opened this issue Feb 17, 2025 · 0 comments

Comments

@thesuperzapper
Copy link
Member

The example-notebook-servers are a tree of container images which all FROM each other, starting from a specific base.

Right now, they use a complex nest of make commands to ensure that building one image will correctly build its upstream dependencies if they have changed, otherwise it uses the cached version (either from local cache or remote).

I wonder if we can replicate this in a more declarative manner using dockers bake format.

THINGS TO CONSIDER:

  • We want to be able to run builds in parallel where possible. That is, once the base is built, we can build the jupyter, rstudio and code-server linages in parallel. Similarly, with some of the sub images like jupyter which is the base of a few other lines (for PyTorch/Tensorflow/Scipy).
    • It's not clear if this is easier or harder with bake
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Needs Triage
Development

No branches or pull requests

1 participant