Scorpil / docker-rust

45 stars 8 forks source link

“Nightly” on Docker Hub isn’t updated automatically? #11

Open chris-morgan opened 7 years ago

chris-morgan commented 7 years ago

I’m not very familiar with Docker and Docker Hub yet, so I’m not sure if this is how things would normally be set up there, but I expected that scorpil/rust’s nightly tag would be less than one day old, containing the latest nightly build of Rust. Instead, it’s thirteen days old.

bbigras commented 7 years ago

I would like this too. nightly is now 3 months old.

Scorpil commented 7 years ago

@bbigras are you sure you pulled the last image?

docker run scorpil/rust:nightly rustc -V
rustc 1.18.0-nightly (c58c928e6 2017-04-11)

I'm not using dockerhub to build these images, since it builds duplicated images separately (e.g. you have '1.17' and 'stable' as two separate images, instead of one image referenced by two tags) . I'm working on setting up automation scripts to build and push these images on regular basis.

bbigras commented 7 years ago

I was wrong. The Dockerfile is 3 months old and it uses the latest nightly if you build it.

but 2017-04-11 is almost 2 months old.

I'm working on setting up automation scripts to build and push these images on regular basis.

That would be great. Maybe there's an easy way to check if there's a new nightly and trigger a build.

bbigras commented 7 years ago

Can't wait for the automatic builds. I can't currently use this image with Rocket:

Installed version is: 1.20.0-nightly (2017-06-23). Minimum required: 1.20.0-nightly (2017-07-02)