Add gecko driver for robotframework
Add gecko driver for docker based builds that will
run Selerium UI tests
Issue-id: CLAMP-28
Change-Id: Ib0fdb21165a5814dc7cb6599fc5226d35db813ee
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
diff --git a/packer/provision/docker.sh b/packer/provision/docker.sh
index 739ba42..593b5c7 100644
--- a/packer/provision/docker.sh
+++ b/packer/provision/docker.sh
@@ -34,6 +34,9 @@
# 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
+ tar xvzf geckodriver-v0.18.0-linux64.tar.gz -C /usr/local/bin
+ export PATH=$PATH:/usr/local/bin
# Install docker
apt install -y docker.io