Fix $PATH for chromium-chromedirver
Apt installs chromium-chromedriver into
/usr/lib/chromium-browser/chromedriver and
doesnt add to $PATH so need to add it explicitly.
Change-Id: I9d28b3d12438401ec5a94d6bbaebd06cef092632
Issue-ID: INT-945
Signed-off-by: Dmitry Puzikov <dmitry.puzikov@tieto.com>
diff --git a/setup.sh b/setup.sh
index 50e344a..e91555e 100755
--- a/setup.sh
+++ b/setup.sh
@@ -101,6 +101,10 @@
# as required software is installed already.
if $BUILDTIME
then
+ # we need to update PATH with chromium-chromedriver
+ echo "Adding in-container chromedriver to PATH"
+ ln -s /usr/lib/chromium-browser/chromedriver /usr/local/bin/chromedriver
+
echo "Skipping desktop steps, building container image..."
else
#