-
Notifications
You must be signed in to change notification settings - Fork 789
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
why to sleep for 20 seconds? #183
Comments
Because otherwise the user wouldn't be able to act on the warnings that are printed; Lines 237 to 258 in 2e839c9
|
Oh, I was using this script in my dotfiles, and thought that I wait too long |
I use the script in a similar way and actually think it would be nice to be able to bypass the sleep by setting an environment variable or passing a flag or something. |
What's the reason you're getting the error? If you're using the script to update to a newer version, using the regular way to update packages ( |
The sleep happens when this condition is met Line 221 in 2e839c9
Line 257 in 2e839c9
Also just to clarify, what I'm asking is along the lines of setting an environment variable prior to running the script that would be something like |
I'm still curious when the script is called / used in your use-case to get a better understanding; Is it to keep your docker installation up-to-date? How do you keep other packages up to date (and wouldn't docker be included in the same process?)
So, first of all, situations where I think this scenario can be problematic (and where the script is not suitable for updating);
Perhaps it could looks for @tianon any thoughts? |
same issue +1. I need a flag to skip this sleeping. |
I mean, you know my thoughts on this script... 😅 (I would've deprecated it years ago - I think it does more harm than good. 😇) The idea of folks using it inside their dotfiles is honestly kind of terrifying, and I'd love to hear more about the intended use case too. |
I also have a use case for this - creating an azure devops agent docker file where I need to install docker within the docker image |
+1 - we're installing docker inside a dotnet/core Linux image so that we can build and push the .NET projects to docker. It's giving me a warning that WSL is detected and pauses for 20 seconds during the docker compose - would be nice to be able to avoid the 20s |
|
I see this line
docker-install/install.sh
Line 265 in 2e839c9
and also others. I don't really understand why should I sleep for 20 sec?
The text was updated successfully, but these errors were encountered: