-
-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cryptic error "Containerfile: no such file or directory" #26
Comments
Hi, If possible, can you share a link to your repository for further debugging? |
That happen when vib fails to generate the Containerfile which means the recipe could be broken. As Dharun asked, provide the repo url please. |
I fixed the error by outsourcing the commands to a bash script. I think it was just a syntax problem in the .yml of the form:
The main issue is that a missing dockerfile error is not very indicative of the build script problem. (It could have been that the specified image to build on was mistyped) |
@kbdharun is it possible to make the step after vib, to check for that fail and provide a better failure log? |
Yeah, we can make it show up in the workflow's annotations will look into it. |
After editing the recipe.yml, the github actions started showing the error:
"Error: buildx failed with: ERROR: failed to solve: failed to read dockerfile: open Containerfile: no such file or directory"
This error message did not give any indication where the error was.
The code passed the 'verify_image' and 'check_update' stages.
I am still not sure what caused the error to occur. I mainly added a file to /modules/ that contains a shell module to download a bunch of fonts. Including this script in the recipe caused the problem.
My guess is that generating the containerfile failed and lead to the error. Ideally, the build script gives an indication where the build of the containerfile failed.
The text was updated successfully, but these errors were encountered: