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

Skip removing apt lists / run updates on each layer? #578

Open
jbergstroem opened this issue Mar 9, 2023 · 0 comments
Open

Skip removing apt lists / run updates on each layer? #578

jbergstroem opened this issue Mar 9, 2023 · 0 comments

Comments

@jbergstroem
Copy link

Chore

Describe the chore

A potential time saving improvement for building containers could be to stop removing the downloaded apt list for the builder / ccache image and avoid updating in each image. I doubt the package repositories have changed between the first image being created and subsequent layer reuse.

Additional context

Happy to open a PR if the approach makes sense. Perhaps there's another reason each step does "update && rm".

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

1 participant