pwaller / docker-show-context

Show where time is wasted during the context upload of `docker build`
MIT License
338 stars 16 forks source link

Homebrew formula #8

Open darthdeus opened 6 years ago

darthdeus commented 6 years ago

Since there are already available binary releases, it would be nice to have a Homebrew formula for macOS.

pwaller commented 6 years ago

I'm not familiar with homebrew, but if someone wants to contribute a formula to this repository then I'll gladly accept.

mbana commented 6 years ago
go get -v -u github.com/pwaller/docker-show-context
cd ~/dir-containing-dockerfile
docker-show-context
Miserlou commented 6 years ago

I'd also love this! Is this Gist helpful?

Also thanks so much for this project! Saved me bags of time!

pwaller commented 5 years ago

@Miserlou there is still not quite enough context in that gist as a non-brew user to be sure I've gotten things right.

What do I need to do to make it useful for other users, exactly? Do I need a repository called homebrew-docker-show-context? What do I need to do to make brew install docker-show-context a thing? What instruction should I give users? If someone is willing to help me figure this out, then I'll happily add it.

chakrit commented 5 years ago

@Miserlou As noted by the OP, @pwaller has already setup binary releases on github so there is no need to depends_on "go" again and re-build. It can just grab the github release binary and put it on the user's machine.

rouge8 commented 2 years ago

@pwaller I can submit a formula to Homebrew if you create a new tag that has the fix in 0aad35647cbab6f571486d001bf98d933280f862.