[ 
https://issues.apache.org/jira/browse/FLINK-27746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17541402#comment-17541402
 ] 

Yang Wang commented on FLINK-27746:
-----------------------------------

I am afraid we could not simply remove the {{COPY}} of .git directory. We rely 
on it to get the commit id. Then it will be used in the logs.

{code:java}
[ INFO ]  Starting Flink Kubernetes Operator (Version: 1.0.0, Flink Version: 
1.15.0, Rev:2417603, Date:2022-05-23T07:42:07+02:00)
{code}


This is introduced by [~nicholasjiang] and he pings me privately. That's why I 
assigned this ticket to him.

> 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)

Reply via email to