Skip to content

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

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.

Activity

  1. Byron commented on Oct 28, 2020

    @Byron
    Member

    Please direct your questions to stackoverflow, providing the GitPython tag. This will help you formulate a question in such a way that people have a chance to help.

    Thanks for your understanding.

  2. locked and limited conversation to collaborators on Oct 28, 2020
  3. reopened this on Feb 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions