devcontainers / devcontainers/spec

Explicit lifecyle command ordering.

Open
#367 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
5.7k
Forks
496
PR merge metrics
No merged PRs in 30d

Description

I'm currently working around some of the issues with the `python` feature on bookworm, which ends up involving using `pipx` to install some packages. That's fine.

The problem I'm experiencing is that commands can and are run in parallel, I have multiple packages to install, and `pipx` is (rightfully) rejecting concurrent modifications to parts of the environment it manages.

Obviously, there are multiple workarounds;
- Writing a single shell script to call all the relevant commands
- Concatinating everything together with `&&` or similar.

Both are less than desirable;
- With a shell script, it hides the commands with another level of indirection.
- Concatinating everything together can result in some really long or otherwise hard to parse lines.

So what I'd like is some way to have some way to designate some lifecycle commands as at least mutually exclusive in a "group", or better completely ordered.

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.