devcontainers / devcontainers/cli

Run initializeCommand for `devcontainer build`

Open
#190 7 comments 4 reactions 1 assignee Claimed by @chrmarti View on GitHub
feature-request
Dominant language
TypeScript
Stars
3k
Forks
457
Avg merge
13h 17m
Merged PRs (30d)
6

Description

### When
```sh
$ devcontainer build --workspace-folder .
```

### Expected
By default, things like `initialcommand` are called.

### Actual
Things like `initialcommand` are not called.

### Feat
All default things vscode devcontainer does, like `xxxcommand` , extensions, cwd...

```sh
$ ls .devcontainer/devcontainer.json
.devcontainer/devcontainer.json
$ devcontainer vscode build
Run initialcommand
...
Start: Run: docker build
Step 1: FROM
Step 2: RUN xxx
Step 3: RUN xxx
...
```

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.