-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Make bootstrap.sh safe from bad connection #1366
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
Conversation
This allows to run the bootstrap.sh directly and "safely" without storing it on disk. Signed-off-by: O'meid <public@omeid.me>
|
my only concern is variable scoping but it's probably ok. @omeid can you test this with different |
|
Works just fine for me. $ curl https://raw.githubusercontent.com/omeid/dokku/patch-1/bootstrap.sh | DOKKU_TAG=v0.2.0 DOKKU_REPO="https://github.com/omeid/dokku.git" bash
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 2719 100 2719 0 0 5058 0 --:--:-- --:--:-- --:--:-- 5053
Preparing to install v0.2.0 from https://github.com/omeid/dokku.git...
Ign http://archive.ubuntu.com trusty InRelease
Ign http://archive.ubuntu.com trusty-updates InRelease
Ign http://archive.ubuntu.com trusty-security InRelease
25% [Working]^C
$
` |
|
👍 |
|
It would be nice if |
|
Who owns |
|
|
Yup I did the same thing. No idea who that is. |
|
No idea either. |
|
I've tried reaching out to that guy, no response. If anyone wants to do that for us, that would be pretty pro. |
Make bootstrap.sh safe from bad connection
|
@josegonzalez It is important that the domain ownership is passed on to the owner/maintainer of dokku though. Having two trust points for this sort of "run remote code on the fly" is kinda less than optimal. |
|
@omeid we never refer to dokku.io anywhere, and it's not like we're telling people to install code from a domain other than a github-controlled domain. |
This allows to run the bootstrap.sh directly and "safely" without storing it on disk.