Urban AI
07/24/2025, 11:23 AMfailed to get relative files: lstat /kaniko/buildcontext/.git: no such file or directory
Is .git excluded by default by Ploomber?
If so, is there a supported way to force its inclusion in the Docker build context?
Thanks in advance for your help!Eduardo
Urban AI
07/24/2025, 3:58 PMUrban AI
07/24/2025, 4:29 PMUrban AI
07/24/2025, 4:40 PMEduardo
.git , I can confirm this. So I suggested adding a flag to the CLI so .git is not ignored, but then you mentioned that the image will become larger (which is true, since you'll be including a full repository on it).
so what's the ideal behavior that you're looking for in the CLI?Urban AI
07/26/2025, 8:47 AMUrban AI
07/26/2025, 8:48 AMSo I suggested adding a flag to the CLI soThat works for us, when do you think this flag would be available?.git
Eduardo
Eduardo