Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kovetskiy/curlbash

Poe's Law real life demonstration.
https://github.com/kovetskiy/curlbash

Last synced: 13 days ago
JSON representation

Poe's Law real life demonstration.

Awesome Lists containing this project

README

        

# curlbash

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

### Now we have a solution!

Let's pump some [**kubernetes**'s **Docker**file](https://github.com/kubernetes/kubernetes/blob/f2ddd60eb9e7e9e29f7a105a9a8fa020042e8e52/cluster/mesos/docker/km/Dockerfile#L31)!

How Dockerfile looks before:

![before](http://i.imgur.com/UB997Tq.png)

And now look how Dockerfile looks after:

![after](http://i.imgur.com/7yv39Nm.png)

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