make perl deterministic

This commit is contained in:
Lance R. Vick 2024-02-10 04:09:13 -08:00
parent 4fd7514229
commit 70c1f8cb57
No known key found for this signature in database
GPG key ID: 8E47A1EC35A1551D

View file

@ -3,6 +3,7 @@ ENV VERSION=5.38.0
ENV SRC_HASH=eca551caec3bc549a4e590c0015003790bdd1a604ffe19cc78ee631d51f7072e
ENV SRC_FILE=perl-${VERSION}.tar.xz
ENV SRC_SITE=https://www.cpan.org/src/5.0/${SRC_FILE}
ENV SOURCE_DATE_EPOCH=1
FROM base as fetch
ADD --checksum=sha256:${SRC_HASH} ${SRC_SITE} .
@ -24,6 +25,7 @@ RUN --network=none <<-EOF
cf_by="builder"
cf_time="0"
' > config.over
cat config.over
./Configure \
-des \
-Dcccdlflags='-fPIC' \