{"id":23158774,"url":"https://github.com/mitchs-dev/gocompiler","last_synced_at":"2025-08-01T00:34:46.071Z","repository":{"id":266390160,"uuid":"898187210","full_name":"mitchs-dev/gocompiler","owner":"mitchs-dev","description":"A Docker image which can be used to compile GO binaries for multiple OS's. This image is based on the official `golang` image.","archived":false,"fork":false,"pushed_at":"2024-12-04T02:25:40.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-10T03:46:25.175Z","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/mitchs-dev.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-04T00:12:45.000Z","updated_at":"2024-12-04T02:25:43.000Z","dependencies_parsed_at":"2024-12-04T03:33:35.220Z","dependency_job_id":null,"html_url":"https://github.com/mitchs-dev/gocompiler","commit_stats":null,"previous_names":["mitchs-dev/gocompiler"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mitchs-dev%2Fgocompiler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mitchs-dev%2Fgocompiler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mitchs-dev%2Fgocompiler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mitchs-dev%2Fgocompiler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mitchs-dev","download_url":"https://codeload.github.com/mitchs-dev/gocompiler/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247234841,"owners_count":20905852,"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-12-17T22:27:36.025Z","updated_at":"2025-04-04T18:40:59.092Z","avatar_url":"https://github.com/mitchs-dev.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gocompiler\n\nThis is a docker image which can be used to compile GO binaries for multiple OS's. This image is based on the official `golang` image.\n\n\u003e **IMPORTANT**: This image has previously gone through an overhaul. If you previously used a `1.0.0` version of this image, please be aware that the new tags are going to reflect the version of GO that is being used. (I.e `1.23.3`)\n\n## Supported Versions\n\nThis image will follow the GO Release Policy and will support the last 3 minor versions of GO: https://go.dev/doc/devel/release#policy\n\n## How to use\n\n```bash\ndocker run -ti --rm -v \"\u003cpath-to-go-project\u003e/app\" vo1d/gocompiler:latest \u003cbinary-name\u003e \u003cbinary-version\u003e \u003cos-name\u003e \u003cset-dev-build\u003e\n```\n\n* `\u003cpath-to-go-project\u003e` - This should be the root of your GO project\n   * If you are currently in the root of your GO project, you can just do `$PWD` for this value\n* `\u003cbinary-name\u003e` - Name of the binary which is generated\n* `\u003cbinary-version\u003e` - Version of the binary which will be generated\n* `\u003cos-name\u003e` - OS to build binary for (Linux, Darwin, Windows)\n* `\u003cset-dev-build\u003e` - true/false to add `-DEV` to the end of the binary name\n\n## Building with CGO enabled\n\nThe default image does not have CGO enabled. If you need to build with CGO enabled, you can add `-cgo` to the end of the tag to pull the image with CGO enabled. \n\nExample: `vo1d/gocompiler:latest-cgo`\n\n## Build image\n\nYou can build the image by simply running `./buildImage.sh`","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmitchs-dev%2Fgocompiler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmitchs-dev%2Fgocompiler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmitchs-dev%2Fgocompiler/lists"}