aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/build-sonar.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build-sonar.sh')
-rw-r--r--scripts/build-sonar.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/build-sonar.sh b/scripts/build-sonar.sh
index 7177fbc74..80ae38175 100644
--- a/scripts/build-sonar.sh
+++ b/scripts/build-sonar.sh
@@ -13,7 +13,12 @@
#!/bin/bash
+# Download docker compose
sudo curl -L "https://github.com/docker/compose/releases/download/1.23.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
+# Update/Init submodules
+git submodule update --init --recursive
+
+# Run sonarscanner
docker-compose -f docker-compose-sonar.yml up