Skip to content

Git.custom_environment not working for Repo.clone_from in docker #1078

@lileih

Description

@lileih

Dear Sirs/Madams,

I have problem with using Git.custom_environment and Repo.clone_from methods.
Running in a non-docker environment is successful and it fails to run under docker enviroment
mycode
Repo.clone_from(sourcecode, localpath, branch=branch, env=dict(GIT_SSH_COMMAND=git_ssh_cmd))

it's my fault or problem is the code?

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions