Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
### STAGE 0: Create base chef image for building
### Use a Debian bookworm-based Rust image so GLIBC matches the final runtime (bookworm ships glibc 2.36)
### cargo-chef is then installed into this pinned base
FROM --platform=$BUILDPLATFORM rust:bookworm AS chef
FROM --platform=$TARGETPLATFORM rust:bookworm AS chef

RUN cargo install cargo-chef

Expand Down Expand Up @@ -33,7 +33,7 @@ COPY --exclude=target . .
RUN --mount=type=ssh cargo build --release --bin zenith-builder-example

# Stage 3: Final image for running in the env
FROM --platform=$BUILDPLATFORM debian:bookworm-slim
FROM --platform=$TARGETPLATFORM debian:bookworm-slim
RUN apt-get update && apt-get -y upgrade && apt-get install -y \
libssl-dev \
ca-certificates
Expand Down