Skip to content

Feature Request: support ssh:// protocol for build context urls #1209

@bendem

Description

@bendem

Description

Currently, the only way to use git over SSH to build from a private repository is to use an URL of the form git@server. git:// uses the raw git protocol, there is a shennigan checking for .git at the end of the path but only over http(s).

If your connecting user is not git, you cannot use the git over ssh protocol to build a private repository, resulting in all sorts of workaround like RUN --mount=type=ssh to clone during the build instead of just building a repository by url.

Same issue for buildah: containers/buildah#4032

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