From ac8c5efa1ca276d715a7cb5318a8fa72977c6569 Mon Sep 17 00:00:00 2001 From: Priec Date: Sat, 16 May 2026 23:04:29 +0200 Subject: [PATCH] rust version matching my server --- ht_booking/Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ht_booking/Dockerfile b/ht_booking/Dockerfile index ada7ea0..7fbb0ed 100644 --- a/ht_booking/Dockerfile +++ b/ht_booking/Dockerfile @@ -17,7 +17,9 @@ COPY assets/views ./assets/views RUN mkdir -p assets/static/css && npm run build:css # ---- Stage 2 — release binary ---------------------------------------------- -FROM rust:1.87.0-slim AS builder +# Latest stable Rust, pinned to Debian bookworm so the compiled binary's glibc +# matches the bookworm-slim runtime stage below. +FROM rust:1-slim-bookworm AS builder WORKDIR /usr/src COPY . . RUN cargo build --release --bin ht_booking-cli