Skip to content

Using custom taps for pinning dependencies #5454

Discussion options

You must be logged in to vote

This approach seems to run counter to most things Homebrew seems to do so I expect it won't work very well. This sounds like the type of scenario people normally use an immutable docker image for.

Is there a way to brew tap a non-git local directory?

No, brew exclusively uses git repos for this

Is there a way to "pin" tap to a specific tag and/or branch?

There is not, though you could probably manipulate the git repo after tapping.

Does Homebrew archives all the bottles it ever ships?

Not guaranteed

If not, is there a way to extract a bottle alongside the formula into a custom tap in a way that brew install will respect it?

You can host your own bottles

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@Kentzo
Comment options

@Kentzo
Comment options

Answer selected by Kentzo

This comment was marked as spam.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants