Skip to content

Commit e62883e

Browse files
committed
Use libssl-dev package on Ubuntu >= 16.04
1 parent 79bfca0 commit e62883e

File tree

2 files changed

+2
-20
lines changed

2 files changed

+2
-20
lines changed

Dockerfile-py3-focal-amd64

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -33,16 +33,7 @@ RUN \
3333
uuid-dev \
3434
#upx
3535
upx \
36-
# required because openSSL on Ubuntu 12.04 and 14.04 run out of support versions of OpenSSL
37-
&& mkdir openssl \
38-
&& cd openssl \
39-
# latest version, there won't be anything newer for this
40-
&& wget https://www.openssl.org/source/openssl-1.0.2u.tar.gz \
41-
&& tar -xzvf openssl-1.0.2u.tar.gz \
42-
&& cd openssl-1.0.2u \
43-
&& ./config --prefix=$HOME/openssl --openssldir=$HOME/openssl shared zlib \
44-
&& make \
45-
&& make install \
36+
libssl-dev \
4637
# install pyenv
4738
&& echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.bashrc \
4839
&& echo 'export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.bashrc \

Dockerfile-py3-xenial-amd64

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -33,16 +33,7 @@ RUN \
3333
uuid-dev \
3434
#upx
3535
upx \
36-
# required because openSSL on Ubuntu 12.04 and 14.04 run out of support versions of OpenSSL
37-
&& mkdir openssl \
38-
&& cd openssl \
39-
# latest version, there won't be anything newer for this
40-
&& wget https://www.openssl.org/source/openssl-1.0.2u.tar.gz \
41-
&& tar -xzvf openssl-1.0.2u.tar.gz \
42-
&& cd openssl-1.0.2u \
43-
&& ./config --prefix=$HOME/openssl --openssldir=$HOME/openssl shared zlib \
44-
&& make \
45-
&& make install \
36+
libssl-dev \
4637
# install pyenv
4738
&& echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.bashrc \
4839
&& echo 'export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.bashrc \

0 commit comments

Comments
 (0)