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
RUN apt-get update \
&& apt-get install -y musl-dev musl-tools --no-install-recommends \
FROM rust:1.84-alpine AS chef
RUN apk add --no-cache musl-dev \
&& rustup target add x86_64-unknown-linux-musl \
&& cargo install cargo-chef --locked \
&& rm -rf "$CARGO_HOME/registry"
WORKDIR /rustical
FROM chef AS planner