You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We can reduce image size if remove all C/C++ headers from the include directories. For example, BH size is 126 Mb.
Note, only the final image can be optimized this way because headers no needs anymore.
My suggestion is to add the following command to the end of the examples (and FAQ):
Yeah, we could have one or more switches in installr to do this.
The main downside of course is that you might not be able to use these Dockerfiles to build other Dockerfiles, if you cannot install packages that depend on (say) BH.
Activity
gaborcsardi commentedon Mar 18, 2022
Yeah, we could have one or more switches in
installrto do this.The main downside of course is that you might not be able to use these Dockerfiles to build other Dockerfiles, if you cannot install packages that depend on (say) BH.
gaborcsardi commentedon Dec 12, 2023
Maybe a good way to achieve this would be to have an
installroption that goes over your library and cleans it up, after installation.