rust-lang/docker-rust

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!