Skip to content

Latest Tag for the Swagger CLI image fails with " "generate": executable file not found in $PATH: unknown" error #12559

Closed
@tejaoleria

Description

@tejaoleria

We use Swagger CLI image in our build pipeline where it pulls the latest CLI image swaggerapi/swagger-codegen-cli-v3 and runs generate command against it. We have been seeing our build pipelines failing with the following error

docker: Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: exec: "generate": executable file not found in $PATH: unknown

When reverted the image to use tag 3.0.68, the build succeeds. Is there any breaking change in the latest release of the CLI?

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