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

Can't bypass the install prompt for Docker build #133

Closed
roborourke opened this issue May 4, 2022 · 0 comments
Closed

Can't bypass the install prompt for Docker build #133

roborourke opened this issue May 4, 2022 · 0 comments

Comments

@roborourke
Copy link
Contributor

Hi, I'm trying to use this as part of a docker build but nothing I've tried seems to work to bypass input to the cargo-php install command programmatically.

It would help to have an option on cargo-php install like --yes | -y to bypass the prompt.

I've tried echo "y" | cargo-php install, cargo-php install <<< $'yes\n' etc but not luck.

roborourke added a commit to roborourke/ext-php-rs that referenced this issue May 4, 2022
Makes this tool usable in automated builds such as Docker containers.

Addresses davidcole1340#133
davidcole1340 pushed a commit to roborourke/ext-php-rs that referenced this issue Sep 30, 2022
Makes this tool usable in automated builds such as Docker containers.

Addresses davidcole1340#133
davidcole1340 added a commit that referenced this issue Sep 30, 2022
* Allow passing `--yes` parameter to bypass prompts

Makes this tool usable in automated builds such as Docker containers.

Addresses #133

* Update readme and guides

* rustfmt

Co-authored-by: David Cole <david.cole1340@gmail.com>
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

1 participant