voidzero-dev / voidzero-dev/setup-vp
Support sh fallback for install script on Alpine
@fengmk2 is already working on this.
Since Mar 24, 2026.
- Dominant language
- TypeScript
- Stars
- 110
- Forks
- 22
- Avg merge
- 23h 51m
- Merged PRs (30d)
- 26
Description
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.
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.