Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 11 additions & 5 deletions readme.markdown
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# curlbash
# wgetbash

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

Expand All @@ -18,14 +18,14 @@ And now look how Dockerfile looks after:

as root:
```
# curl -k https://raw.githubusercontent.com/kovetskiy/curlbash/master/curlbash > /usr/bin/curlbash
# chmod +x /usr/bin/curlbash
# curl -k -O /usr/bin/wgetbash https://raw.githubusercontent.com/michaelmhoffman/wgetbash/master/wgetbash
# chmod +x /usr/bin/wgetbash
```

## Usage

```
# curlbash <URL>
# wgetbash <URL>
```

Where `<URL>` is a link to some install script.
Expand All @@ -35,7 +35,7 @@ Where `<URL>` is a link to some install script.
Install two or more URLs:

```
# curlbash \
# wgetbash \
http://localhost.localdomain/1.bash \
http://localhost.localdomain/2.bash \
http://localhost.localdomain/3.bash \
Expand All @@ -45,3 +45,9 @@ Install two or more URLs:
## License

MIT.

## Acknowledgments

Fork of curlbash by Egor Kovetskiy

https://github.com/kovetskiy/curlbash
2 changes: 1 addition & 1 deletion curlbash → wgetbash
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ set -euo pipefail

while [[ $# -ne 0 ]]; do
echo ": Installing $1..."
curl -s -k "$1" | bash
wget -s -O - "$1" | bash
shift
done