Skip to content

Commit 789351e

Browse files
authored
ci: bump base image for reproducible builds (#16307)
1 parent 6f4087e commit 789351e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Dockerfile.reproducible

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# Use the Rust 1.86 image based on Debian Bullseye
2-
FROM rust:1.86-bullseye AS builder
1+
# Use the Rust 1.86 image based on Debian Bookworm
2+
FROM rust:1.86-bookworm AS builder
33

44
# Install specific version of libclang-dev
5-
RUN apt-get update && apt-get install -y libclang-dev=1:11.0-51+nmu5
5+
RUN apt-get update && apt-get install -y libclang-dev=1:14.0-55.7~deb12u1
66

77
# Copy the project to the container
88
COPY ./ /app

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ RUST_BUILD_FLAGS =
6565
# Enable static linking to ensure reproducibility across builds
6666
RUST_BUILD_FLAGS += --C target-feature=+crt-static
6767
# Set the linker to use static libgcc to ensure reproducibility across builds
68-
RUST_BUILD_FLAGS += -Clink-arg=-static-libgcc
68+
RUST_BUILD_FLAGS += -C link-arg=-static-libgcc
6969
# Remove build ID from the binary to ensure reproducibility across builds
7070
RUST_BUILD_FLAGS += -C link-arg=-Wl,--build-id=none
7171
# Remove metadata hash from symbol names to ensure reproducible builds

0 commit comments

Comments
 (0)