{"id":15785826,"url":"https://github.com/fenollp/buildxargs","last_synced_at":"2025-05-07T22:48:03.809Z","repository":{"id":42801051,"uuid":"473826475","full_name":"fenollp/buildxargs","owner":"fenollp","description":"`xargs` for BuildKit with `docker buildx bake`","archived":false,"fork":false,"pushed_at":"2025-05-05T13:02:48.000Z","size":260,"stargazers_count":2,"open_issues_count":4,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-07T22:47:56.966Z","etag":null,"topics":["buildkit","hacktoberfest","tmux","visual","xargs"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/fenollp.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":"2022-03-25T01:17:37.000Z","updated_at":"2025-03-20T01:29:54.000Z","dependencies_parsed_at":"2023-11-13T14:32:58.240Z","dependency_job_id":"12b81137-38c0-461f-bb7a-92d52e089b8b","html_url":"https://github.com/fenollp/buildxargs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fenollp%2Fbuildxargs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fenollp%2Fbuildxargs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fenollp%2Fbuildxargs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fenollp%2Fbuildxargs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fenollp","download_url":"https://codeload.github.com/fenollp/buildxargs/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252967985,"owners_count":21833247,"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":["buildkit","hacktoberfest","tmux","visual","xargs"],"created_at":"2024-10-04T20:41:37.060Z","updated_at":"2025-05-07T22:48:03.784Z","avatar_url":"https://github.com/fenollp.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# buildxargs ~ `xargs` for BuildKit with `docker buildx bake`\n\nAn efficient way of running multiple concurrent `docker build` jobs on the [BuildKit](https://github.com/moby/buildkit) toolkit.\n\n```shell\n# export DOCKER_HOST=ssh://...\n❯ buildxargs \u003c\u003cEOF\ndocker build --build-arg ARGs='--format mp4 -- https://www.youtube.com/watch?v=Hj7LwZqTflc' --output=~/Videos https://github.com/fenollp/dockerhost-tools.git\ndocker build -o=. --platform=local --build-arg PREBUILT=1 https://github.com/FuzzyMonkeyCo/monkey.git\ndocker build --platform=local -o . https://github.com/docker/buildx.git\nEOF\n```\n\nThis is equivalent to executing the following\n```shell\n❯ export DOCKER_BUILDKIT=1\n❯ xargs -P0 -o -I{} {} \u003c\u003cEOF\ndocker build ...\ndocker build ...\n...\ndocker build ...\nEOF\n```\n\n## Usage\n\n```shell\n...docker buildx bake's --help...\n\n--\n\nxargs for BuildKit with docker buildx bake\n\nUsage: buildxargs [BAKE OPTIONS] [OPTIONS]\n\nOptions:\n      --retry \u003cRETRY\u003e        Retry each failed build at most this many times [default: 3]\n      --help                 Print help\n  -V, --version              Print version\n\nTry:\n  buildxargs \u003c\u003cEOF\ndocker build --platform=local -o . https://github.com/docker/buildx.git\ndocker build --tag my-image:latest https://github.com/bojand/ghz.git\nEOF\n```\n\n## Installing\n\n```shell\ncargo install --locked --git https://github.com/fenollp/buildxargs\n# also: install Docker ≥ 18.09\n```\n\n## See also\n\nMy [blog post about this](https://fenollp.github.io/buildxargs_xargs_for_buildkit).\n\nRelated:\n* My [vi[sual]`xargs`](https://fenollp.github.io/vixargs-visual-xargs) tool\n* [`fmtd`](https://fenollp.github.io/a_simple_framework_for_universal_tools) and *a lib for piping data in \u0026 out of `docker build` tasks*\n\n## TODO\n\n* Spawn tasks in background, attach to display logs, cancel.\n```shell\nOPTIONS:\n        --attach ssh HOST -t /usr/bin/htop + replay daemon logs\n        --background Spawns calls using bg daemon and logs text back for log replain\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffenollp%2Fbuildxargs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffenollp%2Fbuildxargs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffenollp%2Fbuildxargs/lists"}