Install libssl-dev and libffi-dev
On official ubuntu docker images, those libs are not installed by default and are needed to compile the python crypto modules. Change-Id: If73529d2c1f3702ec55ea5520510eaef5016c1ba
This commit is contained in:
parent
d87b5cf329
commit
7585b5c871
|
@ -36,6 +36,12 @@ if [ -x '/usr/bin/apt-get' ]; then
|
|||
sudo -H apt-get -y install python-virtualenv
|
||||
fi
|
||||
fi
|
||||
if ! $(dpkg -l libssl-dev &>/dev/null); then
|
||||
sudo -H apt-get -y install libssl-dev
|
||||
fi
|
||||
if ! $(dpkg -l libffi-dev &>/dev/null); then
|
||||
sudo -H apt-get -y install libffi-dev
|
||||
fi
|
||||
elif [ -x '/usr/bin/yum' ]; then
|
||||
if ! $(python --version $>/dev/null); then
|
||||
sudo -H yum -y install python
|
||||
|
|
Loading…
Reference in New Issue