fix(docker): bump Rust toolchain from 1.82 to 1.85 for moxcms compatibility
Some checks failed
CI Pipeline / Rust Format Check (pull_request) Successful in 10s
CI Pipeline / Clippy Lints (pull_request) Successful in 52s
CI Pipeline / Rust Unit Tests (pull_request) Failing after 1m31s
CI Pipeline / Security Audit (pull_request) Successful in 6s
CI Pipeline / Frontend Lint & Type Check (pull_request) Successful in 15s
CI Pipeline / Build .deb & Release (pull_request) Has been skipped
Some checks failed
CI Pipeline / Rust Format Check (pull_request) Successful in 10s
CI Pipeline / Clippy Lints (pull_request) Successful in 52s
CI Pipeline / Rust Unit Tests (pull_request) Failing after 1m31s
CI Pipeline / Security Audit (pull_request) Successful in 6s
CI Pipeline / Frontend Lint & Type Check (pull_request) Successful in 15s
CI Pipeline / Build .deb & Release (pull_request) Has been skipped
moxcms-0.8.1 (transitive dependency via image-0.25) uses edition 2024 and rust-version 1.85.0, which cannot be parsed by Rust 1.82. This caused the Docker build to fail with: error: failed to parse manifest at moxcms-0.8.1/Cargo.toml Upgrading the build stage from rust:1.82-bookworm to rust:1.85-bookworm resolves the Cargo.toml parsing error.
This commit is contained in:
@ -8,7 +8,7 @@
|
|||||||
# ---------------------------------------------------------------------------
|
# ---------------------------------------------------------------------------
|
||||||
# Stage 1: Rust build
|
# Stage 1: Rust build
|
||||||
# ---------------------------------------------------------------------------
|
# ---------------------------------------------------------------------------
|
||||||
FROM rust:1.82-bookworm AS rust-builder
|
FROM rust:1.85-bookworm AS rust-builder
|
||||||
|
|
||||||
RUN apt-get update && apt-get install -y \
|
RUN apt-get update && apt-get install -y \
|
||||||
pkg-config \
|
pkg-config \
|
||||||
|
|||||||
Reference in New Issue
Block a user