lshmouse commented on issue #4763:
URL: 
https://github.com/apache/incubator-devlake/issues/4763#issuecomment-1484445871

   > This should have been fixed by #4734. @lshmouse Are you running the latest 
main branch?
   
   The issue is fixed. But the build failed again with following error:
   ```
    => [base 7/8] RUN ln -sf /root/.local/bin/poetry /usr/local/bin             
                                                                                
                                                                                
                                 0.4s 
    => ERROR [base 8/8] RUN find ./app/python/ -name "*.sh" | xargs -I{} chmod 
+x {} &&     /app/python/build.sh                                               
                                                                                
                                  0.4s 
   ------                                                                       
                                                                                
                                                                                
                                      
    > [base 8/8] RUN find ./app/python/ -name "*.sh" | xargs -I{} chmod +x {} 
&&     /app/python/build.sh:                                                    
                                                                                
                                        
   #0 0.346 find: ‘./app/python/’: No such file or directory                    
                                                                                
                                                                                
                                      
   #0 0.346 /bin/sh: 1: /app/python/build.sh: Permission denied                 
                                                                                
                                                                                
                                      
   ------                                                                       
                                                                                
                                                                                
                                      
   ERROR: failed to solve: executor failed running [/bin/sh -c find 
./app/python/ -name "*.sh" | xargs -I{} chmod +x {} &&     
/app/python/build.sh]: exit code: 126
   Makefile:111: recipe for target 'build-server-image' failed
   make[1]: *** [build-server-image] Error 1
   make[1]: Leaving directory '/home/qcraft/workspace/incubator-devlake/backend'
   Makefile:26: recipe for target 'build-server-image' failed
   make: *** [build-server-image] Error 2
   ```
   
   I think it is a typo in backend/Dockerfile
   ```
   -RUN find ./app/python/ -name "*.sh" | xargs -I{} chmod +x {} && \
   +RUN find /app/python/ -name "*.sh" | xargs -I{} chmod +x {} && \
   
   ```


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