{"id":20178632,"url":"https://github.com/zk-org/zk-xcompile","last_synced_at":"2025-10-05T00:43:14.734Z","repository":{"id":150246081,"uuid":"343169136","full_name":"zk-org/zk-xcompile","owner":"zk-org","description":"Cross-compiling zk with Docker","archived":false,"fork":false,"pushed_at":"2024-11-29T09:40:27.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":4,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-01-13T16:49:09.708Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","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/zk-org.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":"2021-02-28T17:34:47.000Z","updated_at":"2024-11-29T09:40:26.000Z","dependencies_parsed_at":"2024-11-28T21:15:22.392Z","dependency_job_id":null,"html_url":"https://github.com/zk-org/zk-xcompile","commit_stats":null,"previous_names":["zk-org/zk-xcompile"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zk-org%2Fzk-xcompile","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zk-org%2Fzk-xcompile/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zk-org%2Fzk-xcompile/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zk-org%2Fzk-xcompile/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zk-org","download_url":"https://codeload.github.com/zk-org/zk-xcompile/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241616681,"owners_count":19991541,"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-14T02:22:05.292Z","updated_at":"2025-10-05T00:43:09.676Z","avatar_url":"https://github.com/zk-org.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cross-compiling [`zk`](https://github.com/zk-org/zk) with Docker\n\nLargely inspired by [dh1tw](https://dh1tw.de/2019/12/cross-compiling-golang-cgo-projects/) and [remoteAudio-xcompile](https://github.com/dh1tw/remoteAudio-xcompile).\nImages are when changes are pushed to the main branch using Actions.\n\n## How to invoke?\n\nYou can compile the `zk` source code directly from the source code directory. As example, for compiling the binary for linux/arm64 you have to execute the following command:\n\n```sh\ndocker run --rm -v \"$PWD\":/usr/src/zk -w /usr/src/zk ghcr.io/zk-org/zk-xcompile:linux-arm64 /bin/bash -c 'make'\n```\n\nThis call is already set in `zk` `Makefile`, e.g. `make dist-linux-amd64`.\n\nMore detail is documented here on [Golang's docker hub](https://hub.docker.com/_/golang).\n\nThe images are hosted with [ghcr within zk-org](https://github.com/orgs/zk-org/packages/container/zk-xcompile/versions).\n\n## Releasing changes\n\nClone this repo, make necessary changes, submit a PR. \n\n### Manual building\n\n```sh\ndocker buildx build -t ghcr.io/zk-org/zk-xcompile:linux-amd64 ./linux-amd64\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzk-org%2Fzk-xcompile","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzk-org%2Fzk-xcompile","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzk-org%2Fzk-xcompile/lists"}