microsoft / microsoft/vscode-remote-release
devcontainer postCreateCommand failure is not reported
Open
@chrmarti is already working on this.
Since Aug 31, 2023.
bug
containers
- Dominant language
- Dockerfile
- Stars
- 4.2k
- Forks
- 470
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 1
Description
Non-zero return code from any command invoked in the postCreateCommand section of the devcontainer.json doesn't show up as an error (silently ignoring it). Example:
"postCreateCommand": "exit 1"
Version: 1.81.1
Commit: 6c3e3dba23e8fadc360aed75ce363ba185c49794
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36
Embedder: codespaces
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.