Closed jplatte closed 4 years ago
I cannot replicate this:
$ docker run -it --rm rust:1.42.0-slim
Unable to find image 'rust:1.42.0-slim' locally
1.42.0-slim: Pulling from library/rust
68ced04f60ab: Pull complete
0b01ffaccb34: Pull complete
Digest: sha256:d7bb10f560dfe4d2bd6a79fe148ccfd2879339a742ab3903c4816a3c7a276578
Status: Downloaded newer image for rust:1.42.0-slim
root@ccc3d2856ff9:/# rustup component add clippy
info: downloading component 'clippy'
info: installing component 'clippy'
You seem to have a rustup override configured to use nightly, maybe via a rust-toolchain file.
You're right, sorry :man_facepalming:
Nice to know everything (that can be expected to work) works with a rust-toolchain file + any of the docker images, I wouldn't have expected that.
From my GitLab CI log:
...
The same happened with
rust:latest
recently, which is why I switched torust:1.42.0-slim
. I would really appreciate if this could be looked into.