From: Jessica Wagantall Date: Fri, 13 Oct 2017 17:37:35 +0000 (-0700) Subject: Install Python3.6 for Ubuntu images X-Git-Tag: 1.0.0-Amsterdam~52 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=b95d13f768644f8170c07de07362263ac1e18266;p=ci-management.git 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 --- 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