{"id":14990699,"url":"https://github.com/ziglang/qemu-static","last_synced_at":"2025-04-13T08:18:51.157Z","repository":{"id":40620228,"uuid":"254573015","full_name":"ziglang/qemu-static","owner":"ziglang","description":"build qemu-static binaries using Alpine Linux docker","archived":false,"fork":false,"pushed_at":"2024-12-16T17:03:31.000Z","size":36,"stargazers_count":41,"open_issues_count":1,"forks_count":22,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-03-15T04:03:32.985Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/ziglang.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":"2020-04-10T07:34:57.000Z","updated_at":"2025-03-02T17:45:52.000Z","dependencies_parsed_at":"2024-02-22T14:25:10.638Z","dependency_job_id":"8acdfb9b-8dc6-45e6-97e5-0d31a1ee468b","html_url":"https://github.com/ziglang/qemu-static","commit_stats":{"total_commits":32,"total_committers":4,"mean_commits":8.0,"dds":0.125,"last_synced_commit":"900b0c72d146690200295ffdc411200a99c05f68"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ziglang%2Fqemu-static","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ziglang%2Fqemu-static/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ziglang%2Fqemu-static/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ziglang%2Fqemu-static/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ziglang","download_url":"https://codeload.github.com/ziglang/qemu-static/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245755672,"owners_count":20667027,"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-09-24T14:20:37.541Z","updated_at":"2025-03-27T00:09:47.054Z","avatar_url":"https://github.com/ziglang.png","language":"Shell","readme":"# qemu-static\n\nThe purpose of this project is to build a highly compatible linux QEMU binary\npackage for Zig CI testing.\n\nZig requires a very recent QEMU version, sometimes unreleased commit-revs, and\nsometimes with custom patches. For this reason, distro-based QEMU packages are\nunsuitable.\n\nThe overall strategy is to use Alpine Linux to host a QEMU build and link\nstatically to all possible libraries.\n\nIt is a non-goal to build QEMU with all features enabled.\nIt is a non-goal to build QEMU with system emulation enabled.\nIt is a non-goal to build older versions of QEMU.\n\n## build docker image\n```\ndocker build --tag qemu .\n```\n\n## run container, save ID, copy artifact(s)\n```\nmkdir ../artifact\ndocker run -it --cidfile=qemu.cid qemu true\ndocker cp \"$(cat qemu.cid):work/artifact/.\" ../artifact/.\n```\n\n## review final artifact(s)\n```\nls -al ../artifact/\n```\n\n## cleanup container, ID-file, and image\n```\ndocker container rm $(cat qemu.cid)\nrm qemu.cid\ndocker image rm qemu\n```\n\n## really, really cleanup docker\n```\ndocker system prune --force\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fziglang%2Fqemu-static","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fziglang%2Fqemu-static","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fziglang%2Fqemu-static/lists"}