fix: a fatal error with docker: EBUSY: resource busy or locked, rmdir 'public' - #2139
fix: a fatal error with docker: EBUSY: resource busy or locked, rmdir 'public'#2139adoyle-h wants to merge 1 commit into
Conversation
built with Refined Cloudflare Pages Action⚡ Cloudflare Pages Deployment
|
|
@jackyzha0 Please review this PR. THX. |
There was a problem hiding this comment.
Pull Request Overview
This PR fixes a Docker-related EBUSY error that occurs when trying to remove the 'public' directory during the build process. The error happens because Docker has the directory locked or busy.
- Changes the directory removal approach to remove contents instead of the directory itself
- Modifies the
rmcall to use a glob pattern targeting directory contents rather than the directory root
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
04affc4 to
ebe0760
Compare
…ked, rmdir 'public Fixes jackyzha0#2138
ebe0760 to
7356245
Compare
There was a problem hiding this comment.
Pull Request Overview
Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
|
@saberzero1 is this planned to be merged? |
|
I had the same issue and this PR is working great for me. Thank you! |
|
v5 has been released. Feel free to try it out and reopen this PR if it's still relevant. |
|
I tested this on v5 and the issue is still there. The relevant line of code that this PR fixes remains unchanged in v5. It is still trying to delete the |
|
Dear all, why was this not merged? I am facing the same issue. thanks |
|
FYI I reopened this for v5: #2486 |
thank you Marco! |
|
Well. It's a so inefficient review. |
Fixes #2138