[ https://issues.apache.org/jira/browse/FLINK-27746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17541409#comment-17541409 ]
Nicholas Jiang commented on FLINK-27746: ---------------------------------------- [~tison], if we simply remove "COPY .git", the git info could not be logged in the environment info of Flink job. > Flink kubernetes operator docker image could not build with source release > -------------------------------------------------------------------------- > > Key: FLINK-27746 > URL: https://issues.apache.org/jira/browse/FLINK-27746 > Project: Flink > Issue Type: Bug > Components: Kubernetes Operator > Reporter: Yang Wang > Assignee: Nicholas Jiang > Priority: Blocker > Labels: pull-request-available > Fix For: kubernetes-operator-1.0.0 > > > Could not build the Docker image from the source release, getting the > following error: > > [build 11/14] COPY .git ./.git: > ------ > failed to compute cache key: "/.git" not found: not found -- This message was sent by Atlassian Jira (v8.20.7#820007)