{"id":20290671,"url":"https://github.com/gocardless/expose-host-agent","last_synced_at":"2026-06-04T18:31:04.092Z","repository":{"id":40430920,"uuid":"355963851","full_name":"gocardless/expose-host-agent","owner":"gocardless","description":null,"archived":false,"fork":false,"pushed_at":"2022-05-09T08:38:22.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":44,"default_branch":"master","last_synced_at":"2025-01-14T08:52:53.275Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gocardless.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-04-08T15:39:13.000Z","updated_at":"2021-11-15T11:03:58.000Z","dependencies_parsed_at":"2022-08-09T20:10:57.665Z","dependency_job_id":null,"html_url":"https://github.com/gocardless/expose-host-agent","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gocardless%2Fexpose-host-agent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gocardless%2Fexpose-host-agent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gocardless%2Fexpose-host-agent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gocardless%2Fexpose-host-agent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gocardless","download_url":"https://codeload.github.com/gocardless/expose-host-agent/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241787488,"owners_count":20020099,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-14T15:08:40.822Z","updated_at":"2025-03-04T04:43:19.066Z","avatar_url":"https://github.com/gocardless.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# expose-host-agent\n\n`expose-host-agent` is a small wrapper designed to be used around `docker\nbuild` that does the necessary dance with your local SSH agent to allow the\nbuild to pull content from private git repositories.\n\nDocker commands that need access to private git repositories can then be\nprepended with `with-host-agent`.\n\n## Installation\n\n```sh\nbrew tap gocardless/homebrew-taps\nbrew install expose-host-agent\n```\n\n## Usage\n\nIt runs whatever arguments you give it as a command, so you can use `docker\nbuild` as normal.\n\nTo use `expose-host-agent`, simply wrap normal Docker commands in it like this:\n\n```\nexpose-host-agent docker build -t test_build\n```\n\nInstead of your image failing to build, you should now see something like:\n\n\n```\nStep 16/16 : RUN with-host-agent git clone git@github.com:gocardless/must-have-private-dependency.git\n\n---\u003e Running in 2d630d625583\n\n192.168.65.2    host.docker.internal\n\nCloning into 'must-have-private-dependency'...\n\nWarning: Permanently added the RSA host key for IP address '140.82.118.4' to the list of known hosts.\n\nRemoving intermediate container 2d630d625583\n\n---\u003e 3370566db8f1\n\nSuccessfully built 3370566db8f1\n```\n\nEt voilà!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgocardless%2Fexpose-host-agent","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgocardless%2Fexpose-host-agent","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgocardless%2Fexpose-host-agent/lists"}