Show HN: The best alternative to curl – bash paradigm

readme.markdown

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:

And now look how Dockerfile looks after:

Installation

as root:

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

Usage

# curlbash

Where 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.


Original URL: http://feedproxy.google.com/~r/feedsapi/BwPx/~3/G0IncVgMqdY/curlbash

Original article

Comments are closed.

Proudly powered by WordPress | Theme: Baskerville 2 by Anders Noren.

Up ↑

%d bloggers like this: