summaryrefslogtreecommitdiffstats
path: root/packer/provision
diff options
context:
space:
mode:
authorJessica Wagantall <jwagantall@linuxfoundation.org>2017-10-13 10:37:35 -0700
committerJessica Wagantall <jwagantall@linuxfoundation.org>2017-10-13 17:44:39 +0000
commitb95d13f768644f8170c07de07362263ac1e18266 (patch)
tree1468afde3e996f3e61fa15d904d1731adf101443 /packer/provision
parentc781352a164a5bf802b3bc7cde8ad10631e5d43e (diff)
Install Python3.6 for Ubuntu images
Add Python3.6 version to be used by dcaegen2 project. Change-Id: Ie6a1afde8a4697f094a862bfd0870fc5a844bf47 Issue-ID: CIMAN-108 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
Diffstat (limited to 'packer/provision')
-rw-r--r--packer/provision/docker.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/packer/provision/docker.sh b/packer/provision/docker.sh
index 593b5c781..325e328e2 100644
--- a/packer/provision/docker.sh
+++ b/packer/provision/docker.sh
@@ -32,6 +32,11 @@ EOL
ubuntu_systems() {
# Assumes that python is already installed by basebuild
+ # Install Python3.6
+ sudo add-apt-repository -y ppa:jonathonf/python-3.6
+ sudo apt-get update
+ sudo apt-get install -y python3.6
+
# Install dependencies for robotframework and robotframework-sshlibrary
apt install -y unzip sshuttle netcat libffi-dev libssl-dev
wget https://github.com/mozilla/geckodriver/releases/download/v0.18.0/geckodriver-v0.18.0-linux64.tar.gz