From 56dcd1b56960f8595d424f2656bf8f0345049a99 Mon Sep 17 00:00:00 2001 From: "Lance R. Vick" Date: Mon, 29 Jan 2024 23:54:54 -0800 Subject: [PATCH] remove non-deterministic optimizations from python --- src/core/python/Dockerfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/core/python/Dockerfile b/src/core/python/Dockerfile index 23b7011..118cbf0 100644 --- a/src/core/python/Dockerfile +++ b/src/core/python/Dockerfile @@ -23,15 +23,14 @@ COPY --from=binutils . / COPY --from=make . / COPY --from=musl . / COPY --from=openssl . / +ENV PYTHONHASHSEED=0 +ENV PYTHONDONTWRITEBYTECODE=1 RUN set -eux; \ ./configure \ --build="x86_64-linux-musl" \ --host="x86_64-linux-musl" \ --prefix=/usr \ - --enable-ipv6 \ - --enable-optimizations \ --enable-shared \ - --with-lto \ --with-computed-gotos \ --without-ensurepip; \ make