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
apt-get update / install without -y causes setup hang #742
Comments
@uuf6429 |
Just "act", and selecting the "medium" image, since it actually has node 16. |
Please try with images we maintain for |
Thanks that seems to work well! |
@shivammathur actually, I still have one final problem - apparently that image does not contain docker itself, so I cannot start further services. Any suggestions? (also, couldn't it make sense to just fix the original problem with php-ubuntu?) PS: I've also updated the main description to be clearrr.. |
I added the -y option in shivammathur/php-ubuntu@33b904a as it is harmless, but scripts in this repo are only meant to run on GitHub hosted runners which do not need this. I will add a check in Also, I have added docker to the |
https://github.com/shivammathur/php-ubuntu/blob/d752c0e323638e3fa5ae13654ab4935d7432657d/scripts/install.sh#L31
I'm trying to run shivammathur/setup-php@v2 through act, however it hangs up indefinitely.
So I connected a term session to the container, checked where it is stuck and manually checked through the running scripts:
Running the command manually (after manually deleting the apt lock), it asks me for confirmation; which I suppose is the root cause of the hang.
After some detective work, it seems that the code of
install.sh
is coming from this repository (I'm guessing is the script I linked at the top).Wouldn't the following fix the problem?
The text was updated successfully, but these errors were encountered: