diff options
Diffstat (limited to 'packer/provision/basebuild.sh')
-rw-r--r-- | packer/provision/basebuild.sh | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/packer/provision/basebuild.sh b/packer/provision/basebuild.sh index 261f75fde..057c98dea 100644 --- a/packer/provision/basebuild.sh +++ b/packer/provision/basebuild.sh @@ -13,7 +13,7 @@ rh_systems() { yum install -y openssl-devel mysql-devel gcc # Autorelease support packages - yum install -y firefox python-tox xmlstarlet xvfb + yum install -y firefox python-tox xmlstarlet xvfb crudini maven # Install chrome to support ChromeDriver cat <<EOF > /etc/yum.repos.d/google-chrome.repo @@ -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 python3.6-dev + # Install python dependencies apt-get install -y python-{dev,virtualenv,setuptools,pip} @@ -60,7 +65,7 @@ ubuntu_systems() { apt-get install -y libssl-dev libmysqlclient-dev gcc # Autorelease support packages - apt-get install -y firefox python-tox xmlstarlet xvfb + apt-get install -y firefox python-tox xmlstarlet xvfb crudini maven # Install chrome to support ChromeDriver wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - |