summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJessica Wagantall <jwagantall@linuxfoundation.org>2017-10-13 16:15:28 -0700
committerJessica Wagantall <jwagantall@linuxfoundation.org>2017-10-13 16:15:28 -0700
commit5763e7c8f905a6b1a993783948de77871e587a6a (patch)
treec364eb86f1a6c450f5528b5d69c94fd75a8e4a6e
parentded01d7fdd69ec20f828e11de936842d4f43413a (diff)
Install Python3.6 for Ubuntu basebuild images
Add Python3.6 version to be used by dcaegen2 project. Change-Id: I7bd5f28958144cbf16e22c1328f5683ee30d737a Issue-ID: CIMAN-108 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
-rw-r--r--packer/provision/basebuild.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/packer/provision/basebuild.sh b/packer/provision/basebuild.sh
index 261f75fde..853afc7dd 100644
--- a/packer/provision/basebuild.sh
+++ b/packer/provision/basebuild.sh
@@ -53,6 +53,11 @@ EOF
}
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
+
# Install python dependencies
apt-get install -y python-{dev,virtualenv,setuptools,pip}