MakarkinSAkvelon commented on code in PR #25508:
URL: https://github.com/apache/beam/pull/25508#discussion_r1124950528


##########
playground/backend/containers/java/build.gradle:
##########
@@ -43,14 +43,6 @@ task copyDockerfileDependencies(type: Copy) {
       from 'entrypoint.sh'
       into 'build/'
    }
-   copy {
-      from '../../../infrastructure/proxy/allow_list.py'
-      into 'build/'
-   }
-   copy {
-      from '../../../infrastructure/proxy/allow_list_proxy.py'
-      into 'build/'
-   }
    copy {

Review Comment:
   This file is in another directory. And we just copy it to the same directory 
where Dockerfile is. According to the link provided by you, there is a rule:
   
   "COPY obeys the following rules:
   The <src> path must be inside the context of the build; you cannot COPY 
../something /something, because the first step of a docker build is to send 
the context directory (and subdirectories) to the docker daemon.
   
   If <src> is a directory, the entire contents of the directory are copied, 
including filesystem metadata."



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to