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

Split apart Dockerfile groupings to avoid long-running build jobs #1033

Open
mthalman opened this issue May 6, 2024 · 3 comments
Open

Split apart Dockerfile groupings to avoid long-running build jobs #1033

mthalman opened this issue May 6, 2024 · 3 comments

Comments

@mthalman
Copy link
Member

mthalman commented May 6, 2024

The CBL Mariner 2.0 and Azure Linux 3.0 build jobs currently take up to 7+ hours to complete. We should look into breaking up the grouping of Dockerfiles so they can be built in separate jobs. This would require determining the dependencies amongst those Dockerfiles to find all the "roots". Then we can get a better picture of what the graphs look like and what potential benefits there may be for splitting things up.

@lbussell
Copy link
Contributor

lbussell commented May 7, 2024

Related: #1024 should also decrease build times for Mariner/AzLinux

@lbussell
Copy link
Contributor

lbussell commented May 9, 2024

[Triage] We should wait until #1024 is fixed to determine how granularly we might need to break up the image build legs. We also need to map out the graph of image dependencies in this repo to determine what the shortest possible build time for these images would be to determine if there will even be a good ROI on this work.

@lbussell lbussell removed the untriaged label May 9, 2024
@jkoritzinsky
Copy link
Member

We've done some of this by splitting up the net8.0 and net9.0 images (by duplicating the crossdeps image) which enabled ImageBuilder to see the separate trees.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Backlog
Development

No branches or pull requests

3 participants