Skip to content

Commit 03d70b3

Browse files
committed
pyenv build adjustments
1 parent 9da6953 commit 03d70b3

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

ubuntu-20.04/Dockerfile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,8 @@ rm -rf ~/openssl-3.0.15*
7070

7171
# Set up pyenv \
7272
RUN git clone https://github.com/pyenv/pyenv.git ~/.pyenv && \
73-
export LDFLAGS="-L/usr/local/openssl/lib" && \
74-
export CPPFLAGS="-I/usr/local/openssl/include" && \
75-
export PKG_CONFIG_PATH="/usr/local/openssl/lib/pkgconfig" && \
76-
export CONFIGURE_OPTS="--with-openssl=/usr/local/openssl" && \
73+
export LDFLAGS="-L/usr/local/ssl/lib64" && \
74+
export PYTHON_CONFIGURE_OPTS="--with-openssl=/usr/local/ssl --with-openssl-rpath=/usr/local/ssl/lib64 --enable-shared --enable-optimizations" && \
7775
pyenv install 3.11 --verbose && \
7876
pyenv global 3.11 && \
7977
pip install --upgrade pip && \

0 commit comments

Comments
 (0)