fix: use debian:trixie-slim runtime (match rust:latest glibc)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -17,8 +17,8 @@ COPY warzone/crates/warzone-protocol ./warzone-phone/deps/featherchat/warzone/cr
|
||||
WORKDIR /build/warzone-phone
|
||||
RUN cargo build --release --bin wzp-relay --bin wzp-web
|
||||
|
||||
# Runtime
|
||||
FROM debian:bookworm-slim
|
||||
# Runtime — use same distro as builder to match glibc
|
||||
FROM debian:trixie-slim
|
||||
RUN apt-get update && apt-get install -y ca-certificates && rm -rf /var/lib/apt/lists/*
|
||||
|
||||
COPY --from=builder /build/warzone-phone/target/release/wzp-relay /usr/local/bin/
|
||||
|
||||
Reference in New Issue
Block a user