summaryrefslogtreecommitdiffstats
path: root/packer
diff options
context:
space:
mode:
authorJessica Wagantall <jwagantall@linuxfoundation.org>2017-10-19 08:51:03 -0700
committerJessica Wagantall <jwagantall@linuxfoundation.org>2017-10-19 17:13:10 +0000
commit62260464d2ed9331006335a733a7773e65811f59 (patch)
tree2e9893b0802e73cdf299fa267cf69ee8e39e50c5 /packer
parent9e57f521887233121ac1627e92509c03a62263b8 (diff)
Install python3.6-dev package in packer
Add python3.6-dev package which is needed by pyCrypto. Change-Id: Iaaa3fb8ca8d464e02af71ae50656861a5d104076 Issue-ID: CIMAN-108 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
Diffstat (limited to 'packer')
-rw-r--r--packer/provision/basebuild.sh2
-rw-r--r--packer/provision/docker.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/packer/provision/basebuild.sh b/packer/provision/basebuild.sh
index a0d34e72e..ccd71536a 100644
--- a/packer/provision/basebuild.sh
+++ b/packer/provision/basebuild.sh
@@ -56,7 +56,7 @@ ubuntu_systems() {
# Install python3.6
sudo add-apt-repository -y ppa:jonathonf/python-3.6
sudo apt-get update
- sudo apt-get install -y python3.6
+ sudo apt-get install -y python3.6 python3.6-dev
# Install python dependencies
apt-get install -y python-{dev,virtualenv,setuptools,pip}
diff --git a/packer/provision/docker.sh b/packer/provision/docker.sh
index 325e328e2..125cbd4c2 100644
--- a/packer/provision/docker.sh
+++ b/packer/provision/docker.sh
@@ -35,7 +35,7 @@ ubuntu_systems() {
# Install Python3.6
sudo add-apt-repository -y ppa:jonathonf/python-3.6
sudo apt-get update
- sudo apt-get install -y python3.6
+ sudo apt-get install -y python3.6 python3.6-dev
# Install dependencies for robotframework and robotframework-sshlibrary
apt install -y unzip sshuttle netcat libffi-dev libssl-dev