voidzero-dev / voidzero-dev/setup-vp
Support sh fallback for install script on Alpine
@fengmk2 ci sta già lavorando.
Dal 24/3/2026.
- Lingua principale
- TypeScript
- Stelle
- 110
- Fork
- 22
- Merge medio
- 23h 51m
- PR unite (30g)
- 26
Descrizione
Context
The install script at https://viteplus.dev/install.sh uses bash-specific syntax (e.g., parentheses in expressions) that is incompatible with POSIX sh (Alpine's default shell).
When attempting to fall back from bash to sh in Alpine containers, the install fails with:
sh: syntax error: unexpected "(" (expecting "}")
See CI failure: https://github.com/voidzero-dev/setup-vp/actions/runs/23498007873/job/68384609190?pr=22
Current workaround
Alpine users must install bash as a prerequisite:
- run: apk add --no-cache bash curl gcompat libstdc++
Desired behavior
The install script should be POSIX-compatible so it can run with sh, removing the need to install bash in Alpine containers.
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Valutazione
Questa issue non è ancora stata valutata.