rust-lang / docker-rust

The official Docker images for Rust
438 stars 88 forks source link

Add tags for nightly images #177

Open tgross35 opened 7 months ago

tgross35 commented 7 months ago

E.g. rust-lang/rust:nightly-2024-02-20, so that it is easy to locate and pin specific images.

The output of rustc --version also includes a next version number (e.g. rustc 1.78.0-nightly), but just the date should probably suffice for this.

sfackler commented 7 months ago

This hasn't been done historically since it'll impose a pretty huge storage burden on Docker Hub/Github and I don't know if they're okay with that.

tgross35 commented 7 months ago

Ah, yeah that would be significant. Maybe it would be possible to do something like tag a nightly every 2 weeks - that would be approximately 13GB/year if only the rust layer changes and not the dependencies

image

tgross35 commented 7 months ago

https://github.com/rust-lang/docker-rust/issues/121 may also help slim down sizes even more if that hasn't been changed

tyranron commented 7 months ago

There is the mirrored instrumentisto/rust images preserving the date for nightly.

Previous issue: https://github.com/rust-lang/docker-rust-nightly/issues/3