fix: use rust:latest-slim as runtime (glibc match)
Some checks failed
Lint and Build / format (push) Successful in 37s
Lint and Build / clippy (push) Successful in 1m37s
Lint and Build / build (push) Successful in 3m44s
Lint and Build / test (push) Failing after 1s

This commit is contained in:
goose 2026-07-14 12:27:55 -03:00
parent 12b7b2dccb
commit ccbbcd4274

View file

@ -35,11 +35,12 @@ RUN cargo build --release
# ============================================================================ # ============================================================================
# Stage 3: Runtime — slim image with binary + static files # Stage 3: Runtime — slim image with binary + static files
# ============================================================================ # ============================================================================
FROM debian:bookworm-slim FROM rust:latest-slim
RUN apt-get update && apt-get install -y --no-install-recommends \ RUN apt-get update && apt-get install -y --no-install-recommends \
ca-certificates \ ca-certificates \
curl \ curl \
libssl3 \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
WORKDIR /app WORKDIR /app