Skip to content

Dockerfile error? Docker build failed with exit code 1 #14

@aclairefication

Description

@aclairefication

I'm using your Github Action via the Marketplace and have configured the options for the step.
Copied the step definition directly from Marketplace search result & modified. ✔️
Github's UI validated that the yml indentation was correct. ✔️
c.f. https://github.com/aclairefication/oss-storytelling/blob/main/.github/workflows/update_story_archetype.yml#L16

I created a pull request & merged it to main, which kicked off the workflow.
The first run was not successful, ending with Docker build failed
c.f. https://github.com/aclairefication/oss-storytelling/runs/7051828039?check_suite_focus=true#step:2:595
Relevant lines:
1st try:

  Building wheels for collected packages: cffi
    Building wheel for cffi (setup.py): started
    Building wheel for cffi (setup.py): finished with status 'error'
    error: subprocess-exited-with-error
  
    × python setup.py bdist_wheel did not run successfully.
    │ exit code: 1
    ╰─> [48 lines of output]
        unable to execute 'gcc': No such file or directory
        unable to execute 'gcc': No such file or directory

    note: This error originates from a subprocess, and is likely not a problem with pip.
    ERROR: Failed building wheel for cffi

    Running setup.py install for cffi: finished with status 'error'
    error: subprocess-exited-with-error

    note: This error originates from a subprocess, and is likely not a problem with pip.
  error: legacy-install-failure
  
  × Encountered error while trying to install package.
  ╰─> cffi

  Warning: Docker build failed with exit code 1, back off 5.586 seconds before retry.

  Building wheels for collected packages: cffi
    Building wheel for cffi (setup.py): started
    Building wheel for cffi (setup.py): finished with status 'error'
    error: subprocess-exited-with-error

2nd try: same result and it gave up...

    Error: Docker build failed with exit code 1

Q: is there an issue in this repo's Dockerfile for v1.0.0 that builds the Gtihub-hosted runner?
Pinned this version, as suggested by the Marketplace step definition: https://github.com/tokusumi/markdown-embed-code/releases/tag/v1.0.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions