Minor performance optimization to Gradle build in Dockerfile

This commit is contained in:
Michael Vorburger ⛑️
2020-12-13 13:27:25 +01:00
committed by Aleksandar Vidakovic
parent 7e1d6da4e2
commit 6abbaafd80
+1 -1
View File
@@ -22,7 +22,7 @@ RUN apt-get update -qq && apt-get install -y wget
COPY . fineract
WORKDIR /fineract
RUN ./gradlew -PautomatedBuild=true --no-daemon -q -x rat -x test bootJar
RUN ./gradlew --no-daemon -q -x rat -x compileTestJava -x test -x spotlessJavaCheck -x spotlessJava bootJar
WORKDIR /fineract/target
RUN jar -xf /fineract/fineract-provider/build/libs/fineract-provider*.jar