Skip to content

Add support for starting envbuilder from a built image #291

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

Closed
mafredri opened this issue Aug 1, 2024 · 0 comments · Fixed by #296
Closed

Add support for starting envbuilder from a built image #291

mafredri opened this issue Aug 1, 2024 · 0 comments · Fixed by #296
Assignees

Comments

@mafredri
Copy link
Member

mafredri commented Aug 1, 2024

To fully support starting envbuilder built images from cache, we need to also support starting envbuilder to setup the environment and run the init command without making changes to the filesystem.

We already have a facility for this when envbuilder detects the presence of /.envbuilder/built and --skip-rebuild=true is used. However, providing --skip-rebuild=true should not be necessary.

We may introduce a new indicator file (e.g. constants.MagicImage = "/.envbuilder/image") to detect envbuilder built images.

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