copy .git/** into build container so git.properties can be generated [FINERACT-983] (#904)
This commit is contained in:
+1
-15
@@ -17,22 +17,8 @@
|
||||
#
|
||||
FROM openjdk:11 AS builder
|
||||
|
||||
# COPY . fineract is slow e.g. when using Podman instead of Docker (because it doesn't honor .dockerignore and copies all of .git/** into the container..), so let's explicitly list only what we need:
|
||||
COPY fineract-provider/src/main fineract/fineract-provider/src/main/
|
||||
COPY fineract-provider/config fineract/fineract-provider/config/
|
||||
COPY fineract-provider/gradle fineract/fineract-provider/gradle/
|
||||
COPY fineract-provider/properties fineract/fineract-provider/properties/
|
||||
COPY fineract-provider/[bd]*.gradle fineract/fineract-provider/
|
||||
COPY fineract-provider/gradle.properties fineract/fineract-provider/
|
||||
COPY fineract-provider/gradlew fineract/fineract-provider/
|
||||
COPY gradle* fineract/
|
||||
COPY settings.gradle fineract/
|
||||
COPY licenses fineract/licenses/
|
||||
COPY *LICENSE* fineract/
|
||||
COPY *NOTICE* fineract/
|
||||
|
||||
COPY . fineract
|
||||
WORKDIR fineract
|
||||
# RUN find .
|
||||
RUN ./gradlew --no-daemon -x rat -x test war
|
||||
|
||||
# =========================================
|
||||
|
||||
Reference in New Issue
Block a user