Dockerfile: Switch from builder from 1:83-debian to 1:84-alpine

This commit is contained in:
Lennart
2025-01-13 15:29:58 +01:00
parent d276345ca5
commit 12d267bd5e

View File

@@ -1,9 +1,9 @@
FROM rust:1.83 AS chef FROM rust:1.84-alpine AS chef
RUN apt-get update \ RUN apk add --no-cache musl-dev \
&& apt-get install -y musl-dev musl-tools --no-install-recommends \
&& rustup target add x86_64-unknown-linux-musl \ && rustup target add x86_64-unknown-linux-musl \
&& cargo install cargo-chef --locked \ && cargo install cargo-chef --locked \
&& rm -rf "$CARGO_HOME/registry" && rm -rf "$CARGO_HOME/registry"
WORKDIR /rustical WORKDIR /rustical
FROM chef AS planner FROM chef AS planner