Skip to content

Sanitize the final container image for envbuilder #217

@mafredri

Description

@mafredri

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions