diff --git a/Makefile b/Makefile index e67f0ca74d26..635dbc25c9b1 100644 --- a/Makefile +++ b/Makefile @@ -346,7 +346,7 @@ endif RUST_PROFILE ?= debug ifneq ($(RUST_PROFILE),debug) -CARGO_OPTS := --profile=$(RUST_PROFILE) --quiet +CARGO_OPTS := --profile=$(RUST_PROFILE) --locked --quiet else CARGO_OPTS := --quiet endif diff --git a/contrib/reprobuild/Dockerfile.focal b/contrib/reprobuild/Dockerfile.focal index e61524d40187..4d960aa6906b 100644 --- a/contrib/reprobuild/Dockerfile.focal +++ b/contrib/reprobuild/Dockerfile.focal @@ -2,6 +2,7 @@ FROM focal ENV TZ=UTC RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone +ENV SOURCE_DATE_EPOCH=1672531200 ENV RUST_PROFILE=release ENV PATH=/root/.pyenv/shims:/root/.pyenv/bin:/root/.cargo/bin:/root/.local/bin:$PATH ENV PROTOC_VERSION=29.4 diff --git a/contrib/reprobuild/Dockerfile.jammy b/contrib/reprobuild/Dockerfile.jammy index b363bc3b2f83..3f156a6f6658 100644 --- a/contrib/reprobuild/Dockerfile.jammy +++ b/contrib/reprobuild/Dockerfile.jammy @@ -2,6 +2,7 @@ FROM jammy ENV TZ=UTC RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone +ENV SOURCE_DATE_EPOCH=1672531200 ENV RUST_PROFILE=release ENV PATH=/root/.pyenv/shims:/root/.pyenv/bin:/root/.cargo/bin:/root/.local/bin:$PATH ENV PROTOC_VERSION=29.4 diff --git a/contrib/reprobuild/Dockerfile.noble b/contrib/reprobuild/Dockerfile.noble index f9c4506b312c..a630596bd765 100644 --- a/contrib/reprobuild/Dockerfile.noble +++ b/contrib/reprobuild/Dockerfile.noble @@ -2,6 +2,7 @@ FROM ubuntu:noble ENV TZ=UTC RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone +ENV SOURCE_DATE_EPOCH=1672531200 ENV RUST_PROFILE=release ENV PATH=/root/.pyenv/shims:/root/.pyenv/bin:/root/.cargo/bin:/root/.local/bin:$PATH ENV PROTOC_VERSION=29.4