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:
@@ -18,7 +18,7 @@ RUN cargo install wasm-pack && \
|
|||||||
RUN cargo build --release --bin warzone-server
|
RUN cargo build --release --bin warzone-server
|
||||||
|
|
||||||
# Runtime
|
# Runtime
|
||||||
FROM debian:bookworm-slim
|
FROM debian:trixie-slim
|
||||||
RUN apt-get update && apt-get install -y ca-certificates && rm -rf /var/lib/apt/lists/*
|
RUN apt-get update && apt-get install -y ca-certificates && rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
COPY --from=builder /build/warzone/target/release/warzone-server /usr/local/bin/
|
COPY --from=builder /build/warzone/target/release/warzone-server /usr/local/bin/
|
||||||
|
|||||||
@@ -17,8 +17,8 @@ COPY warzone/crates/warzone-protocol ./warzone-phone/deps/featherchat/warzone/cr
|
|||||||
WORKDIR /build/warzone-phone
|
WORKDIR /build/warzone-phone
|
||||||
RUN cargo build --release --bin wzp-relay --bin wzp-web
|
RUN cargo build --release --bin wzp-relay --bin wzp-web
|
||||||
|
|
||||||
# Runtime
|
# Runtime — use same distro as builder to match glibc
|
||||||
FROM debian:bookworm-slim
|
FROM debian:trixie-slim
|
||||||
RUN apt-get update && apt-get install -y ca-certificates && rm -rf /var/lib/apt/lists/*
|
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/
|
COPY --from=builder /build/warzone-phone/target/release/wzp-relay /usr/local/bin/
|
||||||
|
|||||||
Reference in New Issue
Block a user