Skip to content

Feature: automatically install sccache #143

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
dmeijboom opened this issue May 8, 2023 · 2 comments
Open

Feature: automatically install sccache #143

dmeijboom opened this issue May 8, 2023 · 2 comments

Comments

@dmeijboom
Copy link

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!

@powerboat9
Copy link

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.

@dmeijboom
Copy link
Author

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.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants