13 Replies
Project ID:
6038fab7-84cc-4d23-9a43-701e13ab1f5b
I'm finding weird that I deployed it 2 days ago and it worked fine. Now if I try to redeploy the exact same commit it just fails on build:
Error: error resolving dockerfile path: copying dockerfile: copying file: write /kaniko/Dockerfile: copy_file_range: is a directory
I'm not quite sure how to debug it either.
Full logs:
Error: error resolving dockerfile path: copying dockerfile: copying file: write /kaniko/Dockerfile: copy_file_range: is a directory
--custom-platform string Specify the build platform if different from the current host
exit status 1
if you push to github will the resulting build work?
no
do you have a root directory set?
yea it's a monorepo but root is set to the specific app's folder
and that directory has your Dockerfile right?
there's no Dockerfile in our project 😅 I assumed this kaniko is yours
oh so you use nixpacks
yup
it seems disabling the new builder will fix it
but we used the new builder without problem before
i figured, thanks for reporting this, i will bring this info to the v2 builder's dev
cool - thanks!
for what its worth you can use the v2 builder for this, you just need to have your path prefixed with
/
ive reported this to the dev and it will be fixed, but thats the work around in the mean time