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.
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):
Also consider to clean up doc and html, localization files directories in the
/usr/local/lib/R/library
.Results.
Example 1:
Example 2
Update:
Also
*.mo
,*.pdf
files can be removed:The text was updated successfully, but these errors were encountered: