docker-rust icon indicating copy to clipboard operation
docker-rust copied to clipboard

Add tags for nightly images

Open tgross35 opened this issue 1 year ago • 4 comments

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.

tgross35 avatar Feb 20 '24 20:02 tgross35

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.

sfackler avatar Feb 20 '24 20:02 sfackler

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 avatar Feb 20 '24 21:02 tgross35

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

tgross35 avatar Feb 20 '24 21:02 tgross35

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

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

tyranron avatar Feb 21 '24 11:02 tyranron