{"id":17041698,"url":"https://github.com/xlab/gobldock","last_synced_at":"2026-05-10T02:37:50.571Z","repository":{"id":25354969,"uuid":"28782670","full_name":"xlab/gobldock","owner":"xlab","description":"gobldock provides an easy and convenient way to cross-compile Go packages for Docker (Linux x64_86) environments.","archived":false,"fork":false,"pushed_at":"2015-01-04T18:46:51.000Z","size":100,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-28T04:31:16.424Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/xlab.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-01-04T18:46:25.000Z","updated_at":"2015-01-04T18:46:51.000Z","dependencies_parsed_at":"2022-08-25T20:41:19.128Z","dependency_job_id":null,"html_url":"https://github.com/xlab/gobldock","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xlab%2Fgobldock","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xlab%2Fgobldock/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xlab%2Fgobldock/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xlab%2Fgobldock/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xlab","download_url":"https://codeload.github.com/xlab/gobldock/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245041755,"owners_count":20551461,"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-10-14T09:13:15.851Z","updated_at":"2026-05-10T02:37:50.532Z","avatar_url":"https://github.com/xlab.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Go Build in Docker\n\n[gobldock] provides an easy and convenient way to cross-compile Go packages for Docker (Linux x64_86) environments. Internally it does the following: \n - loads a `golang` docker image with Go and GCC compilers present, so CGO is enabled;\n - mounts the `$GOPATH` from the host;\n - mounts the output directory (`pwd` by default) from the host;\n - runs `go build -i` inside this docker image.\n\n[gobldock]: http://github.com/missionMeteora/gobldock\n\n## Usage\n\nRequires an installed [docker](https://docs.docker.com).\n\n```\n./gobldock -h\nUsage: ./gobldock \u003cpackage\u003e\n  -o, --output=\".\"      Specify the path for resulting exectuable\n  -s, --silent=false    Be silent, no fancy stuff\n```\n\n## Example\n\n```\nxlab ~/Documents/dev/meteora $ go get github.com/missionMeteora/gobldock\nxlab ~/Documents/dev/meteora $ boot2docker shellinit\n\nxlab ~/Documents/dev/meteora $ gobldock github.com/missionMeteora/gobldock\nfound Docker: /usr/local/bin/docker\nDocker version 1.3.2, build 39fa2fa\ncompiling into: /Users/xlab/Documents/dev/meteora/gobldock\n\nxlab ~/Documents/dev/meteora $ file gobldock\ngobldock: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, not stripped\n```\n\n## License\n\n[MIT](/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxlab%2Fgobldock","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxlab%2Fgobldock","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxlab%2Fgobldock/lists"}