From ebe3552f5c8b63a2d2b28319a535112493896f4e Mon Sep 17 00:00:00 2001 From: "Lance R. Vick" Date: Sat, 7 Sep 2024 00:20:24 -0700 Subject: [PATCH] fix: reproducibe php and socat --- packages/php/Containerfile | 2 ++ packages/socat/Containerfile | 1 + 2 files changed, 3 insertions(+) diff --git a/packages/php/Containerfile b/packages/php/Containerfile index c3d12e5..f1d7ddf 100644 --- a/packages/php/Containerfile +++ b/packages/php/Containerfile @@ -51,6 +51,8 @@ RUN tar -xf php-${VERSION}.tar.gz WORKDIR /php-src-php-${VERSION} COPY *.patch . ENV SOURCE_DATE_EPOCH=1 +ENV PHP_UNAME="Linux stagex" +ENV PHP_BUILD_SYSTEM="${PHP_UNAME}" RUN --network=none <<-EOF set -eux export CFLAGS="-O2" diff --git a/packages/socat/Containerfile b/packages/socat/Containerfile index 3bd069d..654b4fa 100644 --- a/packages/socat/Containerfile +++ b/packages/socat/Containerfile @@ -15,6 +15,7 @@ COPY --from=stagex/binutils . / COPY --from=stagex/make . / RUN tar -xvf $SRC_FILE WORKDIR /socat-${VERSION} +ENV SOURCE_DATE_EPOCH=1 RUN --network=none <<-EOF set -eux ./configure \