{"id":13451581,"url":"https://github.com/tonistiigi/buildkit-pack","last_synced_at":"2025-08-11T19:30:33.331Z","repository":{"id":45722716,"uuid":"151502361","full_name":"tonistiigi/buildkit-pack","owner":"tonistiigi","description":"buildkit frontend for buildpacks","archived":false,"fork":false,"pushed_at":"2020-01-27T21:04:14.000Z","size":2018,"stargazers_count":132,"open_issues_count":1,"forks_count":11,"subscribers_count":9,"default_branch":"master","last_synced_at":"2024-12-01T11:52:45.612Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/tonistiigi.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}},"created_at":"2018-10-04T01:15:33.000Z","updated_at":"2024-11-12T15:43:22.000Z","dependencies_parsed_at":"2022-09-11T16:31:48.619Z","dependency_job_id":null,"html_url":"https://github.com/tonistiigi/buildkit-pack","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/tonistiigi%2Fbuildkit-pack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tonistiigi%2Fbuildkit-pack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tonistiigi%2Fbuildkit-pack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tonistiigi%2Fbuildkit-pack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tonistiigi","download_url":"https://codeload.github.com/tonistiigi/buildkit-pack/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":229575901,"owners_count":18094797,"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-07-31T07:00:56.263Z","updated_at":"2024-12-13T17:32:24.570Z","avatar_url":"https://github.com/tonistiigi.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"[![asciicinema example](https://asciinema.org/a/2huuQ3iYTAXTGrrLRD4xd50XS.png)](https://asciinema.org/a/2huuQ3iYTAXTGrrLRD4xd50XS)\n\n\n## buildkit-pack\n\nBuildKit frontend for building buildpacks directly.\n\n\n### Usage\n\n#### With Docker (v18.06+ with `DOCKER_BUILDKIT=1`):\n\nAdd `# syntax = tonistiigi/pack` as the first line of a file (eg. `manifest.yml`):\n\n```\ndocker build -f manifest.yml .\n```\n\n#### With `buildctl`:\n```\nbuildctl build --frontend=gateway.v0 --opt source=tonistiigi/pack --local context=.\n```\n\n### Options\n\nDetection can be enabled with `skipDetect=true`. Custom buildpacks can be set in `manifest.yml` or passed with `buildpackOrder=url`.\n\n\n### Examples\n\n\n#### Python\n\n```\n\u003e git clone git://github.com/ihuston/python-cf-examples.git\n\u003e cd python-cf-examples/01-simple-python-app\n\u003e tmp=$(mktemp); ( echo \"# syntax = tonistiigi/pack\" ; cat manifest.yml ) \u003e $tmp \u0026\u0026 mv $tmp manifest.yml\n\u003e docker build -t pythonapp -f manifest.yml .\n[+] Building 89.4s (16/16) FINISHED\n ....\n =\u003e =\u003e writing image sha256:1e13eb221e7779c8aa65624b97afcc11ee797d3c09d80dcfc1e55d956d467d39         0.0s\n =\u003e =\u003e naming to docker.io/library/pythonapp                                                         0.0s\n\u003e docker run -d -p 8080:8080 pythonapp\n\u003e curl localhost:8080\nHello World! I am instance 0\n```\n\n#### Go\n\n```\n\u003e git clone git://github.com/cloudfoundry/go-buildpack\n\u003e cd go-buildpack/fixtures/go_app/\n\u003e tmp=$(mktemp); ( echo \"# syntax = tonistiigi/pack\" ; cat Procfile ) \u003e $tmp \u0026\u0026 mv $tmp Procfile\n\u003e docker build -t goapp -f Procfile .\n[+] Building 28.9s (16/16) FINISHED\n...\n =\u003e =\u003e writing image sha256:f0d240bed9a2b12b288845c3a305050c8d9fa035f564d057e95b0714f68363f2         0.0s\n =\u003e =\u003e naming to docker.io/library/goapp                                                             0.0s\n\u003e docker run -d -p 8080:8080 goapp\n\u003e curl localhost:8080\ngo, world\n.\n\n.\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftonistiigi%2Fbuildkit-pack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftonistiigi%2Fbuildkit-pack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftonistiigi%2Fbuildkit-pack/lists"}