Feature: automatically install sccache
dmeijboom opened this issue · 2 comments
It would be great if sccache would be pre-installed in the Rust docker images. The sccache
binary is less than 7MB which would increase the size of the latest slim-buster
image from 254MB to ~ 260MB. By default it should be disabled and enabling can be done by setting the RUSTC_WRAPPER
environment variable.
I can make a PR to add the necessary changes but I would like to know if it's something that the Rust team would approve. Thanks!
I'm not very familiar with docker, but couldn't you just add sccache to your own images? It looks like the installation process is fairly short.
I'm not very familiar with docker, but couldn't you just add sccache to your own images? It looks like the installation process is fairly short.
Yes, I could do that. In fact, that's what we already do. It just feels like it should be part of the default set of packages installed in the rust docker image.