rust-lang / rust-lang/docker-rust
Feature: automatically install sccache
Nobody has claimed this yet.
- Dominant language
- Dockerfile
- Stars
- 537
- Forks
- 111
- Avg merge
- 1d 38m
- Merged PRs (30d)
- 4
Description
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!
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by inspecting the repository's Rust Docker image definitions and how the slim-buster image is built. Check how sccache can be included while remaining disabled by default and enabled through RUSTC_WRAPPER; done means the relevant images contain the binary without changing default compiler behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, rust
- Domain
- devops
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100