coder / coder/internal

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

Open
#14 0 comments 0 reactions 0 assignees View on GitHub
project/envbuilder
Dominant language
No language data
Stars
3
Forks
0
PR merge metrics
No merged PRs in 30d

Description

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

As shown in a PoC: https://github.com/coder/envbuilder/issues/185#issuecomment-2143411074, 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()`).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.