I’m looking for an option to skip man pages and documentation installation in formulae.
The idea is to use brew in Docker and keep images as small as possible.
Here is the files I’d like to remove :
$ du -sh /home/linuxbrew/.linuxbrew/Cellar/openssl\@1.1/1.1.1g/share/* 4.5M /home/linuxbrew/.linuxbrew/Cellarfirstname.lastname@example.org/1.1.1g/share/doc 6.1M /home/linuxbrew/.linuxbrew/Cellaremail@example.com/1.1.1g/share/man $ du -sh /home/linuxbrew/.linuxbrew/share/man/* 336K /home/linuxbrew/.linuxbrew/share/man/man1 16M /home/linuxbrew/.linuxbrew/share/man/man3 12K /home/linuxbrew/.linuxbrew/share/man/man5 52K /home/linuxbrew/.linuxbrew/share/man/man7
Thanks for your help