All Projects → kovetskiy → curlbash

kovetskiy / curlbash

Licence: other
Poe's Law real life demonstration.

Programming Languages

shell
77523 projects

curlbash

How many times you've seen curl | bash in your Dockerfiles?

Now we have a solution!

Let's pump some kubernetes's Dockerfile!

How Dockerfile looks before:

before

And now look how Dockerfile looks after:

after

Installation

as root:

# curl -k https://raw.githubusercontent.com/kovetskiy/curlbash/master/curlbash > /usr/bin/curlbash
# chmod +x /usr/bin/curlbash

Usage

# curlbash <URL>

Where <URL> is a link to some install script.

Tips&Tricks

Install two or more URLs:

# curlbash \
    http://localhost.localdomain/1.bash \
    http://localhost.localdomain/2.bash \
    http://localhost.localdomain/3.bash \
    http://localhost.localdomain/4.bash

License

MIT.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].