Skip to content

Docker: bump the Rust build base off 1.85 (can't build current Cargo.lock) #10

Description

@mbreissi

Dockerfile: ARG RUST_VERSION=1.85 (the default build-arg) -> a current Rust.

The Docker build base is too old to compile the committed Cargo.lock. The resolved transitive tree (e.g. time@0.3.53 needs rustc 1.88, icu_* 2.2.0 need 1.86 — pulled via the edgecommons dependency) fails on rust:1.85 with rustc 1.85.1 is not supported, which blocks producing the runnable image (and the identical k8s image).

Policy: use the latest Rust compiler unless there's a specific reason not to. Bump the Docker build base to a current Rust — config-component already uses rust:1.96-bookworm; rust:1-slim/rust:1-bookworm tracks the latest stable.

Note: this is the Docker build base image only — separate from the rust-version / MSRV in Cargo.toml (leave the MSRV as-is). Found while building edgecommons/ethernet-ip-adapter (scaffolded from the same Rust template), where the Dockerfile was bumped to rust:1.88-slim.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions