mirror of
https://seed.radicle.dev/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5.git
synced 2026-10-18 19:10:30 +08:00
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.
This commit is contained in:
+2
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user