{"id":30429647,"url":"https://github.com/sighery/arch-builder-docker","last_synced_at":"2026-04-22T05:31:32.065Z","repository":{"id":103434587,"uuid":"230826447","full_name":"Sighery/arch-builder-docker","owner":"Sighery","description":"Docker image of Arch Linux with a builder user to run makepkg with","archived":false,"fork":false,"pushed_at":"2020-09-09T08:01:12.000Z","size":21,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-22T18:01:02.627Z","etag":null,"topics":["arch-linux","docker-image","makepkg"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/sighery/archbuilder","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/Sighery.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":"2019-12-30T01:32:34.000Z","updated_at":"2020-09-09T08:01:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"3008ce9c-1511-43c3-a867-46f0a19fe54b","html_url":"https://github.com/Sighery/arch-builder-docker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Sighery/arch-builder-docker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sighery%2Farch-builder-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sighery%2Farch-builder-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sighery%2Farch-builder-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sighery%2Farch-builder-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Sighery","download_url":"https://codeload.github.com/Sighery/arch-builder-docker/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sighery%2Farch-builder-docker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32122694,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-22T00:31:26.853Z","status":"online","status_checked_at":"2026-04-22T02:00:05.693Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["arch-linux","docker-image","makepkg"],"created_at":"2025-08-22T17:34:20.189Z","updated_at":"2026-04-22T05:31:32.056Z","avatar_url":"https://github.com/Sighery.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Actions Main\nBuild](https://img.shields.io/github/workflow/status/sighery/arch-builder-docker/Main?logo=github\u0026style=for-the-badge)](https://github.com/Sighery/arch-builder-docker/actions)\n[![Docker](https://img.shields.io/static/v1?logo=docker\u0026label=Docker\u0026message=Automated\u0026color=informational\u0026style=for-the-badge)](https://hub.docker.com/r/sighery/archbuilder)\n\n# Builder image based in Arch Linux\n\nThis is a Docker image, based, and pretty close to the Docker Arch Linux latest\nimage.\n\nOnly changes are running `pacman -Sy` to update the repositories, and\ninstalling `base-devel` and `sudo`.\n\n`base-devel` is needed for compilation and building packages. It provides\nthings such as needed binaries for `makepkg`. `sudo` is needed because\n`makepkg` refuses to run for the `root` user. This can be solved by patching\nthe corresponding code in `/usr/bin/makepkg`, but that would require constant\nupkeep by my part.\n\nInstead, this image creates a new user called `builder` and adds it to sudoers.\nThen, it creates the paths `/builds/` and `/builds/output` and adds rights to\nit for the `builder` user.\n\nIt also configures `makepkg` so that all built packages will be sent to\n`/builds/output/`. This is useful to automatically get all the built packages\nback.\n\n**It does not contain `yay` or any other AUR helper.**\n\n---\n\n## Building this image\n```bash\ngit clone https://github.com/Sighery/arch-builder-docker.git\ncd arch-builder-docker\nsudo docker build -t sighery/archbuilder:latest .\nsudo docker run -it sighery/archbuilder:latest\n```\n\n---\n\n## Usage example\n\nFor the sake of keeping it brief (and because you can check the wonderful Arch\nLinux wiki on how to make PKGBUILD files). This is an example package:\nhttps://gist.github.com/Sighery/636a4cb05a59e12727ab08785a1d35dd\n\nYou'd use it by running (either with sudo if you run docker with sudo, or\nwithout) the following command:\n```bash\nsudo bash builder.sh\n```\n\nMore info on what that script does here: https://stackoverflow.com/a/51186557\n\nBasically it will build the image, create it, and then copy the output files\nfrom it back into your host `./outputs/`.\n\nThen you can install, or release your built packages. For installing:\n```bash\nsudo pacman -U outputs/package-name-1.0.0-1-any.pkg.tar.xz\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsighery%2Farch-builder-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsighery%2Farch-builder-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsighery%2Farch-builder-docker/lists"}