devcontainers / devcontainers/cli

Run onCreateCommand and updateContentCommand in prebuilt images (not pre-built Codespaces)

Open
#150 4 comments 0 reactions 0 assignees View on GitHub
feature-request
Dominant language
TypeScript
Stars
3k
Forks
457
Avg merge
13h 17m
Merged PRs (30d)
6

Description

Codespaces has an option to bake `onCreateCommand` and `updateContentCommand` steps into the image in case they are time-consuming.

> If a user installs dependencies into a dev container via new features spec, they won't be able to reference those in the image's `Dockerfile` because features are applied after the initial build process. So the only way to customize the image becomes those aforementioned steps.

Providing a way to create an analog of Codespaces prebuilds would allow the publication of organization-wide fully ready-made images for local use.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.