We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9da6953 commit 03d70b3Copy full SHA for 03d70b3
ubuntu-20.04/Dockerfile
@@ -70,10 +70,8 @@ rm -rf ~/openssl-3.0.15*
70
71
# Set up pyenv \
72
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" && \
+ 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" && \
77
pyenv install 3.11 --verbose && \
78
pyenv global 3.11 && \
79
pip install --upgrade pip && \
0 commit comments