Skip to content

Dead simple package manager for Dockerfiles, alternative to curl | bash

Notifications You must be signed in to change notification settings

michaelmhoffman/wgetbash

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

wgetbash

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 -O /usr/bin/wgetbash https://github.com/raw/michaelmhoffman/wgetbash/master/wgetbash
# chmod +x /usr/bin/wgetbash

Usage

# wgetbash <URL>

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

Tips&Tricks

Install two or more URLs:

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

License

MIT.

Acknowledgments

Fork of curlbash by Egor Kovetskiy

https://github.com/kovetskiy/curlbash

About

Dead simple package manager for Dockerfiles, alternative to curl | bash

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%