summaryrefslogtreecommitdiffstats
path: root/packer/provision
diff options
context:
space:
mode:
Diffstat (limited to 'packer/provision')
-rw-r--r--packer/provision/basebuild.sh9
-rw-r--r--packer/provision/docker.sh5
2 files changed, 12 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 -
diff --git a/packer/provision/docker.sh b/packer/provision/docker.sh
index 593b5c781..125cbd4c2 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 python3.6-dev
+
# 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