{"id":20834640,"url":"https://github.com/cachyos/docker-makepkg","last_synced_at":"2025-10-29T00:46:04.722Z","repository":{"id":260791952,"uuid":"882327350","full_name":"CachyOS/docker-makepkg","owner":"CachyOS","description":"Easy way to build in a clean environment against the cachyos repository","archived":false,"fork":false,"pushed_at":"2025-04-09T09:22:28.000Z","size":33,"stargazers_count":7,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-19T15:15:15.986Z","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":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CachyOS.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,"zenodo":null}},"created_at":"2024-11-02T14:28:45.000Z","updated_at":"2025-06-21T21:38:32.000Z","dependencies_parsed_at":"2024-11-02T16:20:11.291Z","dependency_job_id":"49cb1f3d-e2b5-4a3c-8992-235b23a52831","html_url":"https://github.com/CachyOS/docker-makepkg","commit_stats":null,"previous_names":["cachyos/docker-makepkg"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/CachyOS/docker-makepkg","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CachyOS%2Fdocker-makepkg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CachyOS%2Fdocker-makepkg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CachyOS%2Fdocker-makepkg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CachyOS%2Fdocker-makepkg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CachyOS","download_url":"https://codeload.github.com/CachyOS/docker-makepkg/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CachyOS%2Fdocker-makepkg/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266242072,"owners_count":23898102,"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-18T00:20:00.096Z","updated_at":"2025-10-29T00:46:04.632Z","avatar_url":"https://github.com/CachyOS.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"docker-makepkg\n==============\n\n\nThis docker image is intended to tests `PKGBUILDs`, by installing dependencies\nand running `makepkg -f` in a clean Arch installation. It is intended to be\nused by packagers, both via CI, and on non-ArchLinux environments.\n\nThe package can be saved to the current director by adding `-e EXPORT_PKG=1`,\nand the updated .SRCINFO file for the built package with `-e EXPORT_SRCINFO=1`.\n\n# v3 / v4\n\nDepending, on which repository you want to build against, you choose simply between:\n- docker-makepkg (generic)\n- docker-makepkg-v3 (x86-64-v3 / avx2)\n- docker-makepkg-v4 (x86-64-v4 / avx512)\n- docker-makepkg-znver4 (Zen 4 Optimized)\n\n# Usage\n\n\n\n## Start to compile in the directory of the PKGBUILD\n```\ntime docker run --name dockerbuilder -e EXPORT_PKG=1 -e SYNC_DATABASE=1 -v $PWD:/pkg cachyos/docker-makepkg \u0026\u0026 docker rm dockerbuilder\n```\n\nReplace the `cachyos/docker-makepkg` with the version you want to use, for example `cachyos/docker-makepkg-v3` to build for and against the x86-64-v3 repository.\n\nOr export the updated .SRCINFO for the package\n\n```\ntime docker run --name dockerbuilder -e EXPORT_PKG=1 -e SYNC_DATABASE=1 -e EXPORT_SRCINFO=1 -v $PWD:/pkg cachyos/docker-makepkg \u0026\u0026 docker rm dockerbuilder\n```\n\n## Build the image\n```\ndocker build -t cachyos/docker-makepkg:latest .\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcachyos%2Fdocker-makepkg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcachyos%2Fdocker-makepkg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcachyos%2Fdocker-makepkg/lists"}