Add python2 headers for the host package install

When trying to install pip packages on the host, they
are installed using python2 - unlike the Ansible venv
which uses python3.

The python2-dev package is missing, and therefore some
pip packages fail to install.

Change-Id: Ie1dde4da89622a90980bcdf4a2427726b1e311b2
This commit is contained in:
Jesse Pretorius 2017-07-20 16:04:56 +00:00
parent eb05d83ed9
commit 7499771822

View File

@ -69,7 +69,8 @@ case ${DISTRO_ID} in
apt-get update
DEBIAN_FRONTEND=noninteractive apt-get -y install \
git-core curl gcc netcat \
python-minimal python3 python3-dev \
python-minimal python-dev \
python3 python3-dev \
libssl-dev libffi-dev \
python3-apt
;;