Cannot update openssl to 1.0.2 on ubuntu docker image -
i've done this:
run apt-get -y remove openssl run debian_frontend=noninteractive apt-get -q update && apt-get -qy install wget make\ && wget https://www.openssl.org/source/openssl-1.0.2g.tar.gz \ && tar -xzvf openssl-1.0.2g.tar.gz \ && cd openssl-1.0.2g \ && ./config \ && make install \ && ln -sf /usr/local/ssl/bin/openssl 'which openssl' first removed old openssl (1.0.1 in case) , updated openssl 1.0.2 after build image , connect via bash still 1.0.1 version when executing opnessl version command
you neither provided dockerfile nor how start container. here example works:
from ubuntu run apt-get update run apt-get -y remove openssl run apt-get -y install gcc run debian_frontend=noninteractive apt-get -q update && apt-get -qy install wget make \ && wget https://www.openssl.org/source/openssl-1.0.2g.tar.gz \ && tar -xzvf openssl-1.0.2g.tar.gz \ && cd openssl-1.0.2g \ && ./config \ && make install \ && ln -sf /usr/local/ssl/bin/openssl 'which openssl' building:
docker build . -t openssl_test testing version:
$ docker run -it openssl_test openssl version openssl 1.0.2g 1 mar 2016
Comments
Post a Comment