This is an automated email from the ASF dual-hosted git repository. wangyang0918 pushed a commit to branch release-1.0 in repository https://gitbox.apache.org/repos/asf/flink-kubernetes-operator.git
commit d0482f91b6603bcdd28ac44130a8cd8bb553108e Author: SteNicholas <[email protected]> AuthorDate: Tue May 24 23:11:18 2022 +0800 [FLINK-27746] Flink kubernetes operator docker image could not build with source release --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 693beab..5acc425 100644 --- a/Dockerfile +++ b/Dockerfile @@ -36,7 +36,8 @@ COPY $DOCS_DIR/pom.xml ./$DOCS_DIR/ COPY $OPERATOR_DIR/src ./$OPERATOR_DIR/src COPY $WEBHOOK_DIR/src ./$WEBHOOK_DIR/src -COPY .git ./.git +# Copy the .git directory when the directory exists. +COPY *.git ./.git COPY tools ./tools RUN --mount=type=cache,target=/root/.m2 mvn -ntp clean install -pl !flink-kubernetes-docs -DskipTests=$SKIP_TESTS
