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

improve image creation time in ods-package-image task #2

Open
stitakis opened this issue Feb 7, 2022 · 2 comments
Open

improve image creation time in ods-package-image task #2

stitakis opened this issue Feb 7, 2022 · 2 comments

Comments

@stitakis
Copy link
Member

stitakis commented Feb 7, 2022

Can we benefit from local cache to improve image creation time? This ticket is for evaluating this.

This post analyses how to use improve performance by mounting a volume to the containers that run buildah.
https://developers.redhat.com/blog/2019/08/14/best-practices-for-running-buildah-in-a-container?intcmp=701f20000012ngPAAQ#running_buildah_inside_a_container

It looks like a better approach would be if buildah could use as cache layer in remote storage. This buildah issue proposes this but is currently open:
containers/buildah#3382

@michaelsauter
Copy link
Member

Thanks for opening this separately!

I would like to get some data first around why this is necessary as I am not convinced yet that we need it at all. Which use cases do we have where image build is slow?

@michaelsauter michaelsauter changed the title improve image creation time improve image creation time in ods-package-image task Jun 3, 2022
@michaelsauter
Copy link
Member

Transferring as a consequence of opendevstack/ods-pipeline#722.

@michaelsauter michaelsauter transferred this issue from opendevstack/ods-pipeline Sep 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants