Replies: 2 comments 8 replies
-
|
This is really just installing homebrew on the host with extra steps. If you run the install script it'll put the binaries in the path you suggested and you won't need docker at all. |
Beta Was this translation helpful? Give feedback.
5 replies
-
|
It sounds like what you're looking for is something like Whalebrew. (Despite the name, you don't actually need to install Homebrew to use it.) |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Clarification of the purpose of the docker image
homebrew/brewReason:
not much search results / documentation.
Summary:
Is it possible (should it be possible in theory) to install packages by
brew installin a way,that execution from the
host systemcould be done without the docker command?I understand it so,
homebrew-core?)brew installcompiles/installs "some files" (formula) in a private directory, independently of No.1What I imagine could be done:
sudo docker run --rm -v "/home/linuxbrew:/home/linuxbrew" homebrew/brew brew install nanonanoin a docker-mappedlinuxbrewfolder, where it should be available from the host system without running a command through the docker (/usr/bin/nanolink to/home/linuxbrew/<packages>/nano).Questions:
Trigger:
Originally, I wanted to install
nanoviadocker .... brew install nano.After installing it, it was nowhere to be found:
sudo docker run --rm homebrew/brew install nanothe command workssudo docker run --rm -v "/home/linuxbrew/.linuxbrew:/home/linuxbrew/.linuxbrew" homebrew/brew xxx- didn't work (should it?)sudo docker run --rm -v "/home/linuxbrew:/home/linuxbrew" homebrew/brew nanoPS: depending on the answers and pushes in the right direction, I will attempt to test more steps.
Beta Was this translation helpful? Give feedback.
All reactions