Skip to content

Commit bf15187

Browse files
committed
ci: fix docker image
1 parent 1b91d3d commit bf15187

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

docker/Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# ---- Base builder image with rust ----
2-
FROM --platform=$BUILDPLATFORM rust:latest AS rust-builder
2+
FROM --platform=$BUILDPLATFORM rust:1-trixie AS rust-builder
33

44
# install required dependencies to build z3.rs...
55
RUN apt-get update && apt-get install -y cmake llvm-dev libclang-dev clang lld
@@ -46,7 +46,9 @@ RUN cargo build --verbose --release --target ${CAESAR_ARCH}
4646
RUN cp target/${CAESAR_ARCH}/release/caesar target/release/caesar
4747

4848
# ---- Building the final Docker image ----
49-
FROM gcr.io/distroless/cc-debian12:latest
49+
# Keep the runtime Debian release aligned with the builder to avoid
50+
# glibc/libstdc++ version mismatches in the published image.
51+
FROM gcr.io/distroless/cc-debian13:latest
5052

5153
COPY --from=builder /root/caesar/target/release/caesar /caesar
5254

0 commit comments

Comments
 (0)