{"id":20310280,"url":"https://github.com/multiarch/docker-goxc","last_synced_at":"2026-03-07T12:01:38.459Z","repository":{"id":146605347,"uuid":"49279274","full_name":"multiarch/docker-goxc","owner":"multiarch","description":":earth_africa: `goxc` Docker image","archived":false,"fork":false,"pushed_at":"2016-01-27T23:35:51.000Z","size":7,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-04T08:12:20.504Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/multiarch/goxc/","language":"Makefile","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/multiarch.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":"2016-01-08T15:22:04.000Z","updated_at":"2024-08-10T14:08:44.000Z","dependencies_parsed_at":"2023-04-22T03:36:52.831Z","dependency_job_id":null,"html_url":"https://github.com/multiarch/docker-goxc","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/multiarch/docker-goxc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/multiarch%2Fdocker-goxc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/multiarch%2Fdocker-goxc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/multiarch%2Fdocker-goxc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/multiarch%2Fdocker-goxc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/multiarch","download_url":"https://codeload.github.com/multiarch/docker-goxc/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/multiarch%2Fdocker-goxc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30212485,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-07T09:02:10.694Z","status":"ssl_error","status_checked_at":"2026-03-07T09:02:08.429Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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-14T17:31:02.144Z","updated_at":"2026-03-07T12:01:38.398Z","avatar_url":"https://github.com/multiarch.png","language":"Makefile","readme":"# docker-goxc\n:earth_africa: `goxc` Docker image\n\n![](https://raw.githubusercontent.com/multiarch/dockerfile/master/logo.jpg)\n\n* Docker Hub: https://hub.docker.com/r/multiarch/goxc/\n\n## Usage\n\n```console\n$ docker run -it --rm multiarch/goxc goxc -h\n goxc version: 0.17.1\n  build date:\nUsage: goxc [\u003coption(s)\u003e] [\u003ctask(s)\u003e]\nHelp Options:\n  -h \u003ctopic\u003e     Help - default topic is 'options'. Also 'tasks', or any task or alias name.\n  -ht            Help - show tasks (and task aliases)\n  -version       Print version\n  -v             Verbose output\nHelp Topics:\n  options           default)\n  tasks         lists all tasks and aliases\n  \u003ctask-name\u003e   task description, task options, and default values\n  \u003calias-name\u003e  lists an alias's task(s)\nTasks options:\n  -+tasks=       Additional tasks to run first. See '-help tasks' for tasks list\n  -t             Build cross-compiler toolchain(s). Equivalent to -tasks=toolchain\n  -tasks+=       Additional tasks to run last. See '-help tasks' for tasks list\n  -tasks-=       Tasks to exclude. See '-help tasks' for tasks list\nPlatform filtering:\n  -arch=         Specify Arch (default is all - \"386 amd64 arm\")\n  -bc=           Specify build constraints (e.g. 'linux,arm windows')\n  -os=           Specify OS (default is all - \"linux darwin windows freebsd openbsd solaris dragonfly\")\nConfig files:\n  -c=            config name\n  -wc            (over)write config. Overwrites are additive. Try goxc -wc to produce a starting point.\nPackage versioning:\n  -br=           Branch name (use this if you've forked a repo)\n  -bu=           Build name (use this for pre-release builds)\n  -pr=           Prerelease info (usually 'alpha', 'snapshot' ...)\n  -pv=           Package version (usually [major].[minor].[patch]. default='snapshot')\nBuild:\n  -build-ccflags= Build flag 'print-commands'\n  -build-compiler= Build flag 'compiler'\n  -build-gccgoflags= Build flag\n  -build-gcflags= Build flag\n  -build-installsuffix= Build flag\n  -build-ldflags= Build flag\n  -build-print-commands= Build flag 'print-commands'\n  -build-processors= Processors to use during build\n  -build-race=   Build flag 'race'\n  -build-tags=   Build flag\n  -build-verbose= Build flag 'verbose'\nOther options:\n  -codesign=     identity to sign darwin binaries with (only applied when host OS is 'darwin')\n  -d=            Destination root directory (default=$GOBIN/(appname)-xc)\n  -env=          Use env variables\n  -goroot=       Specify Go ROOT dir (useful when you have multiple Go installations)\n  -include=      Include resources in archives (default=INSTALL*,README*,LICENSE*)\n  -main-dirs-exclude= Exclude given comma-separated directories from 'main' packages (default=Godeps,testdata,_project,vendor)\n  -max-processors= Max processors (for parallelizing tasks)\n  -n=            Application name. By default this is the directory name.\n  -o=            Output file name for compilation (this string is a template, with default -o=\"{{.Dest}}{{.PS}}{{.Version}}{{.PS}}{{.Os}}_{{.Arch}}{{.PS}}{{.ExeName}}{{.Ext}}\")\n  -pi=           DEPRECATED option name. Use -pr instead\n  -q=            Quiet (no output except for errors)\n  -resources-exclude= Include resources in archives (default=*.go)\n  -resources-include= Include resources in archives (default=INSTALL*,README*,LICENSE*)\n  -wd=           Specify directory to work on\n  -wlc=          write 'local' config\n```\n\n## Examples\n\nCross build [scaleway/scaleway-cli](https://github.com/scaleway/scaleway-cli) from local.\n\n```console\n$ docker run -it --rm -v $(pwd):/go/src/github.com/scaleway/scaleway-cli -w /go/src/github.com/scaleway/scaleway-cli multiarch/goxc goxc -env=GO15VENDOREXPERIMENT=1\nAdding GO15VENDOREXPERIMENT=1\n[goxc:go-install] 2016/01/11 10:31:27 Task go-install succeeded\n[goxc:xc] 2016/01/11 10:31:27 Parallelizing xc for 13 platforms, using max 7 of 8 processors\n[goxc:xc] 2016/01/11 10:32:17 Task xc succeeded\n[goxc:codesign] 2016/01/11 10:32:17 Task codesign succeeded\n[goxc:copy-resources] 2016/01/11 10:32:17 Task copy-resources succeeded\n[goxc:archive-zip] 2016/01/11 10:32:18 Artifact(s) archived to /go/src/github.com/scaleway/scaleway-cli/dist/1.7.0-rc1/scw_1.7.0-rc1_windows_386.zip\n[goxc:archive-zip] 2016/01/11 10:32:18 Artifact(s) archived to /go/src/github.com/scaleway/scaleway-cli/dist/1.7.0-rc1/scw_1.7.0-rc1_freebsd_386.zip\n[goxc:archive-zip] 2016/01/11 10:32:18 Artifact(s) archived to /go/src/github.com/scaleway/scaleway-cli/dist/1.7.0-rc1/scw_1.7.0-rc1_freebsd_arm.zip\n[goxc:archive-zip] 2016/01/11 10:32:18 Artifact(s) archived to /go/src/github.com/scaleway/scaleway-cli/dist/1.7.0-rc1/scw_1.7.0-rc1_windows_amd64.zip\n[goxc:archive-zip] 2016/01/11 10:32:18 Artifact(s) archived to /go/src/github.com/scaleway/scaleway-cli/dist/1.7.0-rc1/scw_1.7.0-rc1_freebsd_amd64.zip\n[goxc:archive-zip] 2016/01/11 10:32:19 Artifact(s) archived to /go/src/github.com/scaleway/scaleway-cli/dist/1.7.0-rc1/scw_1.7.0-rc1_darwin_386.zip\n[goxc:archive-zip] 2016/01/11 10:32:19 Artifact(s) archived to /go/src/github.com/scaleway/scaleway-cli/dist/1.7.0-rc1/scw_1.7.0-rc1_darwin_amd64.zip\n[goxc:archive-zip] 2016/01/11 10:32:20 Task archive-zip succeeded\n[goxc:archive-tar-gz] 2016/01/11 10:32:22 Task archive-tar-gz succeeded\n[goxc:deb] 2016/01/11 10:32:28 Task deb succeeded\n[goxc:deb-dev] 2016/01/11 10:32:28 Task deb-dev succeeded\n[goxc:downloads-page] 2016/01/11 10:32:28 Task downloads-page succeeded\n[goxc:deb-source] 2016/01/11 10:32:30 Task deb-source succeeded\n[goxc:downloads-page] 2016/01/11 10:32:30 Task downloads-page succeeded\n$ \n```\n\n---\n\nFetch and cross build [moul/anonuuid](https://github.com/moul/anonuuid).\n*(works out of the box with `docker` as the only dependency)*\n\n```console\n$ docker run -it --rm -v /tmp:/dist multiarch/goxc sh -xec 'go get -d github.com/moul/anonuuid; goxc -bc=linux -wd /go/src/github.com/moul/anonuuid -env=GO15VENDOREXPERIM\nENT=1 -d /dist xc'\n+ go get -d github.com/moul/anonuuid\n+ goxc -bc=linux -wd /go/src/github.com/moul/anonuuid -env=GO15VENDOREXPERIMENT=1 -d /dist xc\nAdding GO15VENDOREXPERIMENT=1\n[goxc:xc] 2016/01/11 11:57:19 Parallelizing xc for 3 platforms, using max 7 of 8 processors\n[goxc:xc] 2016/01/11 11:57:21 Task xc succeeded\n$ find /tmp/snapshot/ -ls\n33685520    4 drwxr-xr-x   5 moul     moul         4096 Jan 11 12:55 /tmp/snapshot/\n33685522    4 drwxr-xr-x   2 moul     moul         4096 Jan 11 12:57 /tmp/snapshot/linux_arm\n33685550 3360 -rwxr-xr-x   1 moul     moul      3437720 Jan 11 12:57 /tmp/snapshot/linux_arm/anonuuid\n33685549    4 drwxr-xr-x   2 moul     moul         4096 Jan 11 12:57 /tmp/snapshot/linux_386\n33685559 3368 -rwxr-xr-x   1 moul     moul      3448120 Jan 11 12:57 /tmp/snapshot/linux_386/anonuuid\n33685521    4 drwxr-xr-x   2 moul     moul         4096 Jan 11 12:57 /tmp/snapshot/linux_amd64\n33685560 4180 -rwxr-xr-x   1 moul     moul      4279736 Jan 11 12:57 /tmp/snapshot/linux_amd64/anonuuid\n$\n```\n\n## Examples\n\n* [scaleway-community/scaleway-docker](https://github.com/scaleway-community/scaleway-docker/blob/4afd6ebd27d5919d93aa0b1c0bede4560e397258/Makefile#L47-L59)\n\n## License\n\nMIT\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmultiarch%2Fdocker-goxc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmultiarch%2Fdocker-goxc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmultiarch%2Fdocker-goxc/lists"}