Skip to content

Commit

Permalink
pyenv build adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
emlowe committed Jan 8, 2025
1 parent 9da6953 commit 03d70b3
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions ubuntu-20.04/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 && \
Expand Down

0 comments on commit 03d70b3

Please sign in to comment.