From 03d70b32b3397da064265df3cdb4e95c847f990d Mon Sep 17 00:00:00 2001 From: Earle Lowe Date: Wed, 8 Jan 2025 11:32:06 -0800 Subject: [PATCH] pyenv build adjustments --- ubuntu-20.04/Dockerfile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/ubuntu-20.04/Dockerfile b/ubuntu-20.04/Dockerfile index 628ead4..d0b6820 100644 --- a/ubuntu-20.04/Dockerfile +++ b/ubuntu-20.04/Dockerfile @@ -70,10 +70,8 @@ rm -rf ~/openssl-3.0.15* # Set up pyenv \ RUN git clone https://github.com/pyenv/pyenv.git ~/.pyenv && \ - export LDFLAGS="-L/usr/local/openssl/lib" && \ - export CPPFLAGS="-I/usr/local/openssl/include" && \ - export PKG_CONFIG_PATH="/usr/local/openssl/lib/pkgconfig" && \ - export CONFIGURE_OPTS="--with-openssl=/usr/local/openssl" && \ + export LDFLAGS="-L/usr/local/ssl/lib64" && \ + export PYTHON_CONFIGURE_OPTS="--with-openssl=/usr/local/ssl --with-openssl-rpath=/usr/local/ssl/lib64 --enable-shared --enable-optimizations" && \ pyenv install 3.11 --verbose && \ pyenv global 3.11 && \ pip install --upgrade pip && \