Skip to content

(Nice to have) Implement pushing of intermediate images containing the envbuilder binary for later resumption #14

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

Open
mafredri opened this issue Jul 15, 2024 · 0 comments
Assignees

Comments

@mafredri
Copy link
Member

The purpose of this feature is to improve workspace build/startup speed even when some image layers have changed.

As shown in a PoC: coder/envbuilder#185 (comment), it's possible to create and push intermediate images during the build process. However, doing so breaks the final image.

Investigate if this is still an issue and/or if we can work around it and create the intermediate images without affecting the final image. (For instance, our refactor of creating "reproducible" images in Kaniko might have improved the situation.)

A tip: Look into cloning and restoring the build args before/after creating the image ((*stageBuilder).args.Clone()).

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

No branches or pull requests

2 participants