devcontainers / devcontainers/spec

Explicit lifecyle command ordering.

Aperta
#367 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Nessun dato sulla lingua
Stelle
5.7k
Fork
496
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.