Skip to content

Sanitize the final container image for envbuilder #217

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
Tracked by #132
mafredri opened this issue Jun 1, 2024 · 0 comments · Fixed by #246
Closed
Tracked by #132

Sanitize the final container image for envbuilder #217

mafredri opened this issue Jun 1, 2024 · 0 comments · Fixed by #246
Assignees

Comments

@mafredri
Copy link
Member

mafredri commented Jun 1, 2024

As part of #128, we want to sanitize the container images that are pushed to a registry (see #213 for the push implementation).

The motivation is that when running a pre-built image, envbuilder should be able to perform the tasks listen in devcontainer.json to finalize the environment (e.g. run scripts).

Example sanitization directives that can be appended to the Dockerfile:

USER root
WORKDIR /
ENTRYPOINT ["/.envbuilder/bin/envbuilder"]

Note, ENTRYPOINT is dependent on #216.

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