Skip to content

opm alpha generate dockerfile does not work when directory trailing slash is informed #830

@camilamacedo86

Description

@camilamacedo86

Description
$ opm alpha generate dockerfile <dir>/ does not work when directory trailing slash is informed

Workarround solution
Drop the trailing slash $ opm alpha generate dockerfile <dir>

Steps to reproduce

$ opm version
Version: version.Version{OpmVersion:"v1.19.1", GitCommit:"c426f78", BuildDate:"2021-10-11T15:26:23Z", GoOs:"darwin", GoArch:"amd64"}
$ mkdir operatorhubio
$ opm migrate quay.io/operatorhubio/catalog:latest operatorhubio
$ opm alpha generate dockerfile operatorhubio/

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