Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Testing with a baseImage without bash? #31

Open
gremo opened this issue Feb 6, 2023 · 2 comments
Open

Testing with a baseImage without bash? #31

gremo opened this issue Feb 6, 2023 · 2 comments

Comments

@gremo
Copy link

gremo commented Feb 6, 2023

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

@joshspicer
Copy link
Member

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.

@gremo
Copy link
Author

gremo commented Mar 8, 2023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants