-
Notifications
You must be signed in to change notification settings - Fork 101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow installation of a specific version #17
Comments
Thanks for the kind words! This sounds great. A few thoughts:
I think making it easy to install tags and switch between them is a quick, easy win. How we make those discoverable is a bit harder, and we can probably just use the Docker Hub page to list tags for now. |
Yes. Makes it easier to imply how to use them.
Yeah, I figured that out right after I opened the issue, and tinkered with re-installing new tags, running into the same error you did.
Your points are very valid. I have to admit, I only have ideas on how to make this work at this point, because I've been thinking through this for months, when I was planning on writing Dockerbin. You're further along, so I choose to contribute here instead. ProposalWe could manage this in a way similar to how nvm, dvm, and rvm do things. The Initial installation doesn't go directly to Then we can have a list of When you run the |
I don't think all that complexity is necessary. The reason those packaging systems work like that is they're referencing real things on file systems. The Whalebrew package is just a reference to a Docker image, so we can leverage Docker's image system to do all the hard work:
|
I can also draw parallels between homebrew and whalebrew i.e.
I can see how it is useful to have switch command as this way I can keep last release and current master (head) version and switch between them whenever I need. |
I think a switch command would be useful, but not urgent. You can replicate this behaviour by swapping tags in the YAML file, which we could document in the meantime. If it were implemented, I think switch should just swap tags in the YAML file though -- symlinking things is unnecessary. |
Yep, so I suggest an easy way to alter YAML file to cover even more cases i.e. #39 |
we can probably mark todos 1 and 2 done in the original issue now that my change is merged |
could this be extended to Docker platform emulation #138 where you can select amd64 Linux to run on ARM64 and vice versa? I suggested each package having a meta file of different platforms and versions which could be used with a DockerFile template to create a new DockerFile in order to build the required image. |
Let me first say... I love this project. I had started to write exactly this (I called it Dockerbin). However, I went to go back to it and finish it this weekend, and found your project instead.
I'm going to scrap Dockerbin, but I'd like to open some issues and contribute to whalebrew to add some of the features described in the target spec (see dockerbin/README. The first of those is:
Version supported commands
One of the awesome bits of using docker images instead of binaries, is that you can have multiple versions of a command available at once! I propose we create the ability to install and switch between multiple tags for images:
whalebrew install packer@12.2
whalebrew use packer@10.1
whalebrew list [imagename]
command to take an optional[imagename]
, which will result in a list of tags available to install as that commandThe text was updated successfully, but these errors were encountered: