From 0f8e1cc597e386829557cb2f60648b8654755360 Mon Sep 17 00:00:00 2001 From: Lorenz Leutgeb Date: Tue, 21 Jul 2026 13:41:51 +0200 Subject: [PATCH] build/Dockerfile: Omit default `RUST_VERSION` The Rust version used for development is tracked in `/rust-toolchain.toml`, and the value specified there is used to set `RUST_VERSION` in the `build/build` script. Thus, when using `build/build`, the default value is unimportant. However, ensuring that the default value remains consistent with `/rust-toolchain.toml` is a maintenance burden. Remove the default value. This increases friction of building without `build/build`, but makes maintenance easier. --- build/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build/Dockerfile b/build/Dockerfile index 2f8619a2a..12448190d 100644 --- a/build/Dockerfile +++ b/build/Dockerfile @@ -1,5 +1,6 @@ # Builds release binaries for Radicle. -ARG RUST_VERSION="1.85" + +ARG RUST_VERSION ARG ALPINE_VERSION="3.22" FROM rust:${RUST_VERSION}-alpine${ALPINE_VERSION} as builder