Is it possible to depend on either brew's docker
or Docker for Mac?
#389
Replies: 3 comments 3 replies
-
As far as I know, alternate dependencies are not supported, for the same reason If this is an internal-only formula, and you want And if you plan to submit it to Homebrew core at some point, I'd stick with |
Beta Was this translation helpful? Give feedback.
-
I think there was some old functionality that's now been removed (for homebrew-core, at least) related to depending on |
Beta Was this translation helpful? Give feedback.
-
@nidr0x this would be a great improvement for cliditas' Homebrew formula when you have some spare time 😄 |
Beta Was this translation helpful? Give feedback.
-
We have an internal tool that depends on Docker, and we created a formula for it. Currently, it
depends_on "docker"
. I'd like to improve it to support either brew'sdocker
package (/usr/local/opt/docker) or Docker for Mac (/usr/local/bin/docker -> /Applications/Docker.app/Contents/Resources/bin/docker). Is this possible?Thanks in advance
Beta Was this translation helpful? Give feedback.
All reactions