Skip to content

Commit

Permalink
Use libssl-dev package on Ubuntu >= 16.04
Browse files Browse the repository at this point in the history
  • Loading branch information
Toilal committed May 9, 2020
1 parent 79bfca0 commit e62883e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 20 deletions.
11 changes: 1 addition & 10 deletions Dockerfile-py3-focal-amd64
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,7 @@ RUN \
uuid-dev \
#upx
upx \
# required because openSSL on Ubuntu 12.04 and 14.04 run out of support versions of OpenSSL
&& mkdir openssl \
&& cd openssl \
# latest version, there won't be anything newer for this
&& wget https://www.openssl.org/source/openssl-1.0.2u.tar.gz \
&& tar -xzvf openssl-1.0.2u.tar.gz \
&& cd openssl-1.0.2u \
&& ./config --prefix=$HOME/openssl --openssldir=$HOME/openssl shared zlib \
&& make \
&& make install \
libssl-dev \
# install pyenv
&& echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.bashrc \
&& echo 'export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.bashrc \
Expand Down
11 changes: 1 addition & 10 deletions Dockerfile-py3-xenial-amd64
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,7 @@ RUN \
uuid-dev \
#upx
upx \
# required because openSSL on Ubuntu 12.04 and 14.04 run out of support versions of OpenSSL
&& mkdir openssl \
&& cd openssl \
# latest version, there won't be anything newer for this
&& wget https://www.openssl.org/source/openssl-1.0.2u.tar.gz \
&& tar -xzvf openssl-1.0.2u.tar.gz \
&& cd openssl-1.0.2u \
&& ./config --prefix=$HOME/openssl --openssldir=$HOME/openssl shared zlib \
&& make \
&& make install \
libssl-dev \
# install pyenv
&& echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.bashrc \
&& echo 'export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.bashrc \
Expand Down

0 comments on commit e62883e

Please sign in to comment.