Skip to content

Cryptic error "Containerfile: no such file or directory" #26

@rommeswi

Description

@rommeswi

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions