{"id":16420687,"url":"https://github.com/whynothugo/docker-makepkg","last_synced_at":"2025-10-26T20:33:06.437Z","repository":{"id":25315031,"uuid":"103571535","full_name":"WhyNotHugo/docker-makepkg","owner":"WhyNotHugo","description":"A Docker image that builds a PKGBUILD.","archived":true,"fork":false,"pushed_at":"2023-04-18T14:10:00.000Z","size":175,"stargazers_count":41,"open_issues_count":4,"forks_count":20,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-02-10T18:51:27.717Z","etag":null,"topics":["arch-linux","archlinux","build","docker","makepkg","packaging","pacman"],"latest_commit_sha":null,"homepage":"https://git.sr.ht/~whynothugo/docker-makepkg","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/WhyNotHugo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-09-14T19:11:17.000Z","updated_at":"2024-12-28T19:14:42.000Z","dependencies_parsed_at":"2023-01-14T02:31:30.491Z","dependency_job_id":null,"html_url":"https://github.com/WhyNotHugo/docker-makepkg","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WhyNotHugo%2Fdocker-makepkg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WhyNotHugo%2Fdocker-makepkg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WhyNotHugo%2Fdocker-makepkg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WhyNotHugo%2Fdocker-makepkg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WhyNotHugo","download_url":"https://codeload.github.com/WhyNotHugo/docker-makepkg/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238397316,"owners_count":19465152,"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":["arch-linux","archlinux","build","docker","makepkg","packaging","pacman"],"created_at":"2024-10-11T07:28:46.301Z","updated_at":"2025-10-26T20:33:01.116Z","avatar_url":"https://github.com/WhyNotHugo.png","language":"Dockerfile","readme":"docker-makepkg\n==============\n\n[![build status](https://github.com/WhyNotHugo/docker-makepkg/actions/workflows/build.yaml/badge.svg)](https://github.com/WhyNotHugo/docker-makepkg/actions/workflows/build.yaml)\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_SRC=1`.\n\nUsage locally\n-------------\n\n```sh\ndocker run -v $PWD:/pkg -e SYNC_DATABASE=1 whynothugo/makepkg\n```\n\nOr export the built package file to the working directory\n\n```sh\ndocker run -e EXPORT_PKG=1 -v $PWD:/pkg whynothugo/makepkg\n```\n\nOr export the updated `.SRCINFO` for the package\n\n```sh\ndocker run -e EXPORT_SRC=1 -v $PWD:/pkg whynothugo/makepkg\n```\n\nIf you are running Arch, you can share the mirror list from your host by adding\n`-v /etc/pacman.d/mirrorlist:/etc/pacman.d/mirrorlist:ro`.\n\nUsage with travis\n-----------------\n\nGenerally, this should be enough:\n\n```yaml\nsudo: required\n\nservices:\n - docker\n\nscript:\n  - docker run -v $TRAVIS_BUILD_DIR:/pkg whynothugo/makepkg\n```\n\nUsage with GitLab CI\n--------------------\n\nSince GitLab CI uses Docker, it should be trivial to use these images there\ntoo.\n\nExtra details\n-------------\n\n* `base-devel` is pre-installed.\n* All `depends` will be installed (including AUR packages using\n  [paru](https://github.com/Morganamilo/paru)).\n* You may pass `SYNC_DATABASE=1` to force a `pacman -Sy` to refresh the\n  database, since it updates quite frequently.\n* GPG keys used to verify signatures are auto-fetched.\n\nLicence\n-------\n\nThis repository is licensed under the ISC licence. See LICENCE for details.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwhynothugo%2Fdocker-makepkg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwhynothugo%2Fdocker-makepkg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwhynothugo%2Fdocker-makepkg/lists"}