Docker image containing rust nightly and some preinstalled crates used in CI.
This image may be manually updated by running CI=true ./build.sh if you are a member
of the Solana Labs Docker Hub
organization, but it is also automatically updated periodically by
this automation.
Moving to a newer nightly
We pin the version of nightly (see the ARG nightly=xyz line in `Dockerfile)
to avoid the build breaking at unexpected times, as occasionally nightly will
introduce breaking changes.
To update the pinned version:
- Locally update the
ARG nightly=xyzline inci/docker-rust-nightly/Dockerfile - Run
ci/docker-rust-nightly/build.shto rebuild the nightly image locally - Run
ci/docker-run.sh --nopull solanalabs/rust-nightly ci/test-nightly.shto confirm the new nightly image builds. Fix any issues as needed - Run
CI=true ci/docker-rust-nightly/build.shto push the new nightly image to dockerhub.com. Note that all CI may be broken now until the next step is completed. - Merge the update to
ARG nightly=xyzand any codebase adjustments needed.