mirror of
https://github.com/jmcorgan/fips.git
synced 2026-10-05 19:18:25 +00:00
The package build fetches every crate cold on each CI runner, and a crates.io download has failed a build mid-transfer. Set CARGO_NET_RETRY to 10 in the build image, which covers both the cargo-deb install at image build time and the package build that runs in the image. Retry the rustup bootstrap download as well. HTTP/2 multiplexing is left on: turning it off is held back unless registry framing errors recur with the higher retry count. Changing the Dockerfile changes the builder image tag, so every host and the CI cache rebuild the image once.