Open texastoland opened 10 months ago
As discussed on the issue you linked here https://github.com/microsoft/vscode-dev-containers/issues/357#issuecomment-696132886 the growing size of the universal image is one thing that holds us conservative when adding new packages.
Have you considered installing Homebrew as a feature inside your devcontainers json. Looks like there are community provided devcontainer-features available for Homebrew. See https://containers.dev/features
My use case (and the general use case for Codespaces) is reproducing my dev environment from dotfiles in every image (using brew bundle
).
brew
could be a shell function that installs on first use (exactly how Homebrew subcommands work)
I imagine there's a reason this wasn't done already. I thought it's worth opening an issue for others searching too. My use case is replicating my Mac config in Codespaces. I want a few CLIs available everywhere like lazygit. It can be installed with conda-forge but that isn't true for everything. Default Apt sources simply don't include many modern utilities.
Related: microsoft/vscode-dev-containers#357