Replies: 2 comments 5 replies
-
Minimising the install footprint is not a goal for brew, the only thing you could change is that newer OS versions generally don't need to pull in GCC. |
Beta Was this translation helpful? Give feedback.
-
According to Homebrew on Linux:
I don't know what's currently new enough for the current state of formulae. But $ brew info chezmoi
==> chezmoi: stable 2.36.1 (bottled), HEAD
...
==> Dependencies
Build: go ✘
...
$ brew config
HOMEBREW_VERSION: 4.1.3
ORIGIN: https://github.com/Homebrew/brew
HEAD: 128df14e0afd0525564051a7665708c2973a3cab
Last commit: 2 days ago
Core tap origin: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 037e893efc8e9ba8133d0f50766da73ef4ac2da2
Core tap last commit: 49 minutes ago
Core tap branch: master
HOMEBREW_PREFIX: /home/osalbahr/homebrew
HOMEBREW_REPOSITORY: /home/osalbahr/homebrew
HOMEBREW_CELLAR: /home/osalbahr/homebrew/Cellar
HOMEBREW_CASK_OPTS: []
HOMEBREW_MAKE_JOBS: 4
HOMEBREW_NO_INSTALL_FROM_API: set
Homebrew Ruby: 2.6.10 => /home/osalbahr/homebrew/Library/Homebrew/vendor/portable-ruby/2.6.10_1/bin/ruby
CPU: quad-core 64-bit skylake
Clang: N/A
Git: 2.41.0 => /home/osalbahr/homebrew/bin/git
Curl: 7.81.0 => /bin/curl
Kernel: Linux 5.15.0-76-generic x86_64 GNU/Linux
OS: Ubuntu 22.04.2 LTS (jammy)
Host glibc: 2.35
/usr/bin/gcc: 11.4.0
/usr/bin/ruby: 3.0.2
glibc: 2.35_1
gcc@11: N/A
gcc: 13.1.0
xorg: N/A $ brew info chezmoi
==> chezmoi: stable 2.36.1 (bottled), HEAD
...
==> Dependencies
Build: go ✘
Required: gcc ✔, glibc ✔
...
$ brew config
HOMEBREW_VERSION: 4.1.3
ORIGIN: https://github.com/Homebrew/brew
HEAD: 128df14e0afd0525564051a7665708c2973a3cab
Last commit: 2 days ago
Core tap origin: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 037e893efc8e9ba8133d0f50766da73ef4ac2da2
Core tap last commit: 52 minutes ago
Core tap branch: master
HOMEBREW_PREFIX: /home/osalbahr/homebrew
HOMEBREW_REPOSITORY: /home/osalbahr/homebrew
HOMEBREW_CELLAR: /home/osalbahr/homebrew/Cellar
HOMEBREW_CASK_OPTS: []
HOMEBREW_CURL_PATH: /home/osalbahr/homebrew/bin/curl
HOMEBREW_GIT_PATH: /home/osalbahr/homebrew/bin/git
HOMEBREW_MAKE_JOBS: 16
HOMEBREW_NO_INSTALL_FROM_API: set
Homebrew Ruby: 2.6.10 => /home/osalbahr/homebrew/Library/Homebrew/vendor/portable-ruby/2.6.10_1/bin/ruby
CPU: 16-core 64-bit skylake
Clang: 3.4.2 build 34
Git: 2.41.0 => /home/osalbahr/homebrew/bin/git
Curl: 8.2.1 => /home/osalbahr/homebrew/bin/curl
Kernel: Linux 5.4.65-200.el7.x86_64 x86_64 GNU/Linux
OS: CentOS Linux release 7.9.2009 (Core)
Host glibc: 2.17
/usr/bin/gcc: 4.8.5
/usr/bin/ruby: 2.0.0
glibc: 2.35_1
gcc@11: N/A
gcc: 13.1.0
xorg: N/A |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Additional Info
Output of
brew config
Output of
brew doctor
Description of issue
When I install the following packages through a Dockerfile the image size increase by 4 GB as it install gcc and a lot of other packages. I'm wondering if there's a better way to install these dependencies. Maybe use their docker images in stages?
RUN brew install chezmoi fd docker docker-compose clang-format awscli gh
Beta Was this translation helpful? Give feedback.
All reactions