feature-starter
feature-starter copied to clipboard
Testing with a baseImage without bash?
Testing script with i.e. Alpine would fa il because missing bash, can you document how to install it before running the test?
node ➜ /workspaces/feature-starter (main) $ devcontainer features test --skip-scenarios -f color -i alpine:latest
Result:
OCI runtime exec failed: exec failed: unable to start container process: exec ./test.sh: no such file or directory: unknown
Thanks for the issue. This is a known limitation for how the test command is implemented in the CLI. I've opened an issue on the CLI to track this.
Thanks I've actually solved this way: https://github.com/gremo/devcontainers-features/blob/main/test/deployer/test.sh