Minor performance optimization to Gradle build in Dockerfile
This commit is contained in:
committed by
Aleksandar Vidakovic
parent
7e1d6da4e2
commit
6abbaafd80
+1
-1
@@ -22,7 +22,7 @@ RUN apt-get update -qq && apt-get install -y wget
|
|||||||
COPY . fineract
|
COPY . fineract
|
||||||
WORKDIR /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
|
WORKDIR /fineract/target
|
||||||
RUN jar -xf /fineract/fineract-provider/build/libs/fineract-provider*.jar
|
RUN jar -xf /fineract/fineract-provider/build/libs/fineract-provider*.jar
|
||||||
|
|||||||
Reference in New Issue
Block a user