From c138b4cdd5ad4a4a834f2e217468b1122a4461f0 Mon Sep 17 00:00:00 2001 From: Stefan Date: Tue, 7 Feb 2017 13:20:42 +0100 Subject: [PATCH] add scanner opts for extra memory --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 4accdf6..b852aef 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,8 @@ FROM java:8-alpine ENV SONAR_SCANNER_VERSION=2.8 \ - SONAR_SCANNER_HOME=/opt/sonar-scanner + SONAR_SCANNER_HOME=/opt/sonar-scanner \ + SONAR_SCANNER_OPTS="-Xmx512m" RUN set -x \ # Install build depency