Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
5362 commits
Select commit Hold shift + click to select a range
3afd92a
dockerfile: add tests for Git query URL checksums
tonistiigi Aug 29, 2025
99a9103
Merge pull request #6172 from tonistiigi/git-querystring
AkihiroSuda Aug 29, 2025
119c50f
dockerfile: allow keep-git-dir in Git URLs
tonistiigi Aug 29, 2025
3765fe3
dockerfile: add submodules controls to git URLs
tonistiigi Aug 29, 2025
04dc5dd
dfgitutil: allow valueless keep-git-dir and submodules options
tonistiigi Aug 29, 2025
bb018e9
dfgitutil: don't initialize ref from checksum
tonistiigi Aug 29, 2025
0c716fd
Merge pull request #6176 from tonistiigi/remove-ref-initialize
tonistiigi Aug 29, 2025
7ff02fb
Merge pull request #6173 from tonistiigi/git-qs-addopt
tonistiigi Aug 29, 2025
6e93246
dockerfile: fix client init in testGitQueryString
crazy-max Sep 1, 2025
8c17bee
Merge pull request #6179 from crazy-max/dockerfile-fix-test
crazy-max Sep 1, 2025
7cc4d47
docs: use latest "labs" for --parents and --exclude
thaJeztah Sep 1, 2025
9a57f5e
Merge pull request #6181 from thaJeztah/use_latest_labs
crazy-max Sep 1, 2025
891f3e4
dockerfile: enable gitquerystring frontend capability
tonistiigi Sep 2, 2025
546a6fb
Merge pull request #6183 from tonistiigi/dockerfile-gitquerystring-cap
AkihiroSuda Sep 3, 2025
bf8441c
dockerfile: update cni to 1.8.0
crazy-max Sep 3, 2025
f7639d8
solver: Resolve infinite loop when record is ErrNotFound
soluwalana Sep 3, 2025
f5d4ad3
build(deps): bump actions/setup-go from 5 to 6
dependabot[bot] Sep 5, 2025
fe8834d
build(deps): bump actions/labeler from 5 to 6
dependabot[bot] Sep 5, 2025
a532bd3
build(deps): bump actions/github-script from 7 to 8
dependabot[bot] Sep 5, 2025
0da2c0d
Merge pull request #6186 from soluwalana/solu/fix-export-infinite-loop
tonistiigi Sep 5, 2025
48e3752
Merge pull request #6188 from moby/dependabot/github_actions/actions/…
crazy-max Sep 5, 2025
d81094a
Merge pull request #6189 from moby/dependabot/github_actions/actions/…
crazy-max Sep 5, 2025
da71c62
Merge pull request #6190 from moby/dependabot/github_actions/actions/…
crazy-max Sep 5, 2025
2960a0e
Merge pull request #6185 from crazy-max/update-cni
AkihiroSuda Sep 5, 2025
eb03e12
gateway: no such ref now prints the all refs properly
jsternberg Sep 5, 2025
c04c1ce
Merge pull request #6192 from jsternberg/no-such-ref-error-fix
tonistiigi Sep 5, 2025
4bdec93
git: partial integration tests for SHA-256
tianon Oct 31, 2024
4645296
git: add sha256 commits support
tonistiigi Sep 5, 2025
9b944be
git: add sha256 commits in provenance
tonistiigi Sep 5, 2025
411c838
git: enable more integration tests in sha256 mode
tonistiigi Sep 5, 2025
3423f84
vendor: github.com/docker/cli v28.4.0
thaJeztah Sep 6, 2025
29deb6a
fix subject for oci artifact of attestation manifest
crazy-max Sep 5, 2025
4edd9a1
build(deps): bump softprops/action-gh-release from 2.3.2 to 2.3.3
dependabot[bot] Sep 8, 2025
aa68da2
Merge pull request #6194 from tonistiigi/git-sha256
AkihiroSuda Sep 8, 2025
85723af
Merge pull request #6196 from thaJeztah/bump_cli
AkihiroSuda Sep 8, 2025
95770a2
Merge pull request #6199 from moby/dependabot/github_actions/softprop…
crazy-max Sep 8, 2025
f2a23e5
Merge pull request #6191 from crazy-max/oci-artifact-subject-fix
tonistiigi Sep 8, 2025
530f5d2
build(deps): bump minio from v2022-05-03 to v2025-09-07
sorenhansendk Sep 8, 2025
5af76b5
build(deps): bump minio-mc from v2022-05-04 to v2025-08-13
sorenhansendk Sep 8, 2025
94fcabe
llbsolver: don't set materials=false on inputs
tonistiigi Sep 9, 2025
a91fa8c
Merge pull request #6201 from sorenhansendk/upgrade-minio
crazy-max Sep 9, 2025
b90c1af
Merge pull request #6203 from tonistiigi/frontendinputs-materials
crazy-max Sep 9, 2025
8ec9669
go.mod: bump to go 1.24
crazy-max Sep 9, 2025
ff48006
chore: show all golangci-lint issues
crazy-max Sep 9, 2025
060be84
hack: modernize-fix bake target
crazy-max Sep 9, 2025
d31230e
lint: gopls fixes
crazy-max Sep 9, 2025
d858e55
Merge pull request #6205 from crazy-max/go-mod-1.24
tonistiigi Sep 9, 2025
04dbf0b
update go to 1.25
tonistiigi Sep 9, 2025
c727fe6
Merge pull request #6207 from tonistiigi/go-1.25
AkihiroSuda Sep 10, 2025
87fdbed
Fix rootless systemd install target
shivamkj Sep 9, 2025
f4339fd
tools: utilize the new tool functionality introduced in go 1.24
jsternberg Sep 10, 2025
3b7fedf
Merge pull request #6212 from jsternberg/go-mod-tools
tonistiigi Sep 10, 2025
8ecdc0a
provenance: add custom fields support
tonistiigi Sep 10, 2025
edb331d
Merge pull request #6204 from shivamkj/rootless-fix
tonistiigi Sep 10, 2025
d5d5b08
update binfmt to v10.0.4
crazy-max Sep 11, 2025
03621be
update xx to v1.7.0
crazy-max Sep 11, 2025
ba23d6f
Merge pull request #6216 from crazy-max/update-xx
tonistiigi Sep 11, 2025
b2a77c4
Merge pull request #6210 from tonistiigi/provenance-custom-env
tonistiigi Sep 11, 2025
0ca6aba
Merge pull request #6215 from crazy-max/update-binfmt
tonistiigi Sep 11, 2025
2d7ef04
remotecache: refactor to new cache export interface
tonistiigi Jun 25, 2025
b65d560
remotecache: fix backlinks carry from remote source
tonistiigi Aug 13, 2025
748dbd6
remotecache: fix provencnce image indexes lookup
tonistiigi Aug 13, 2025
a12ea75
remotecache: fix remote selector candidates matching
tonistiigi Aug 14, 2025
1c970ad
remotecache: pass deschandlers to cache export
tonistiigi Aug 14, 2025
846a4cc
remotecache: add merge keys for loops
tonistiigi Aug 14, 2025
6c0aa8c
remotecache: use bestResult to determine what result to export
tonistiigi Aug 14, 2025
051818c
remotecache: only load desc handlers if not set
tonistiigi Aug 14, 2025
e4ee762
remotecache: fix possible panic when merging loop candidates
tonistiigi Sep 3, 2025
292043f
remotecache: fix missing skipped result on diffop tests
tonistiigi Sep 5, 2025
98eab32
dockerfile: fix history config for EXPOSE instruction
crazy-max Sep 12, 2025
c74c787
Merge pull request #6218 from crazy-max/fix-expose-history
tonistiigi Sep 12, 2025
8f12ba8
provenance: avoid missing args in history provenance
tonistiigi Sep 12, 2025
80dc6b2
Merge pull request #6221 from tonistiigi/provenance-args-fix
tonistiigi Sep 12, 2025
57a72b0
provenance: handle input:context frontend opt to set config source
crazy-max Sep 10, 2025
97d953e
handle querystring and subdir URLs when matching git material
tonistiigi Sep 12, 2025
74d1779
contenthash: do not follow nested symlinks when computing checksum
jsternberg Sep 12, 2025
7946fd9
Merge pull request #6213 from crazy-max/provnance-input-context
crazy-max Sep 13, 2025
2095093
Support `isolated` option in containerd executor in Windows
Vigilans Sep 15, 2025
30ef291
Rename `isolated` to `hypervIsolation`
Vigilans Sep 16, 2025
c3873a9
grpcerrors: Ensure errors from errors.Join are preserved
cpuguy83 Sep 16, 2025
b932279
Merge pull request #6224 from Vigilans/vigilans/containerd-executor-i…
tonistiigi Sep 16, 2025
d117b9e
Added Dalec frontend to README.md
nikelborm Sep 16, 2025
d400e9f
grpcerrors: Make sure Code And AsGRPCStatus handle errors.Join errors
cpuguy83 Sep 16, 2025
0e92dbb
Merge pull request #6226 from cpuguy83/fix_grpcerrors_unwrap
tonistiigi Sep 17, 2025
3ae7ced
Update buildkitd.toml.md
guhuajun Sep 18, 2025
760fdac
Merge pull request #6214 from nikelborm/patch-1
tonistiigi Sep 18, 2025
820a262
Update buildkitd.toml.md
guhuajun Sep 19, 2025
97d242f
Update buildkitd.toml.md
guhuajun Sep 19, 2025
5c274d2
Merge pull request #6129 from tonistiigi/cachev2-refactor
tonistiigi Sep 19, 2025
d9d758f
Merge pull request #6228 from guhuajun/patch-1
tonistiigi Sep 19, 2025
f319a77
Merge pull request #6220 from jsternberg/copy-broken-symlink-with-exc…
tonistiigi Sep 19, 2025
aa003be
llb: add checksum option to llb.Image
tonistiigi Sep 20, 2025
5f01809
dockerfile: promote --exclude flag from labs
jsternberg Sep 19, 2025
4159cde
Merge pull request #6232 from jsternberg/promote-exclude-from-labs
tonistiigi Sep 23, 2025
b7176d5
update runc to v1.3.1
tonistiigi Sep 23, 2025
eb49527
Merge pull request #6234 from tonistiigi/llb-image-checksum
tonistiigi Sep 23, 2025
916074c
hack: update hack/compose with newer otel collector
jsternberg Sep 23, 2025
2777c1b
Merge pull request #6236 from tonistiigi/runc-v1.3.1
tonistiigi Sep 23, 2025
c8fad61
Merge pull request #6237 from jsternberg/hack-compose
tonistiigi Sep 23, 2025
9403302
contenthash: change how checksum is calculated with wildcards and pat…
jsternberg Sep 23, 2025
b5640d3
dockerfile: skip customenv tests in dockerd worker
tonistiigi Sep 24, 2025
e4d7acb
Merge pull request #6239 from tonistiigi/provenance-env-test-fix
thaJeztah Sep 24, 2025
4838bf2
alpine: fix issue with openssh pkg in 3.22
tonistiigi Sep 25, 2025
fbc3b11
Merge pull request #6245 from tonistiigi/alpine-openssh-fix
tonistiigi Sep 25, 2025
ef8e5f9
git: fix issue with checking out annotated tags by full ref
tonistiigi Sep 25, 2025
c2917fa
reformat heredocs example in reference.md to better show benefit
damonholden Sep 14, 2025
5e2ff2b
Merge pull request #6223 from damonholden/better_demonstrate_benefits…
tonistiigi Sep 25, 2025
f764ec5
vendor: github.com/containerd/nydus-snapshotter v0.15.4
thaJeztah Sep 25, 2025
fce7be4
Dockerfile: update nydus-service to v2.3.7
thaJeztah Sep 25, 2025
fee9ff7
Merge pull request #6249 from thaJeztah/bump_nydus_service
AkihiroSuda Sep 29, 2025
1cff4fb
Merge pull request #6248 from thaJeztah/bump_nydus
AkihiroSuda Sep 29, 2025
20dfc80
Fix grpcerrors.AsGRPCStatus to ignore OK and Unknown status codes for
cpuguy83 Sep 29, 2025
61c3a9e
hack: enable SLSA provenance v1 for buildkit and frontend images
crazy-max Sep 30, 2025
a7399e8
Merge pull request #6250 from cpuguy83/fix_errors
tonistiigi Sep 30, 2025
15f7052
Merge pull request #6244 from tonistiigi/git-annotated-fix
tonistiigi Sep 30, 2025
299b9cd
git: fix annotated tag pinning and cache keys
tonistiigi Sep 29, 2025
80c6fb9
git: allow checksum of annotated tag ref match either tag or commit sha
tonistiigi Sep 30, 2025
373f658
hack: fix no-cache-filter on release
crazy-max Oct 1, 2025
7bef127
Merge pull request #6258 from crazy-max/hack-no-cache-filter
AkihiroSuda Oct 1, 2025
0d9a1e1
Merge pull request #6251 from tonistiigi/git-annotated-fix2
AkihiroSuda Oct 1, 2025
d9183cb
git: handle tag changes in upstream
tonistiigi Oct 1, 2025
9f5cf39
git: fix possible conflict on mutated branches
tonistiigi Oct 2, 2025
0567c13
chore: upgrade golang.org/x/exp to 20250911091902
fiam Oct 2, 2025
99c6887
remotecache: skip result on not-found error
tonistiigi Oct 3, 2025
77aa49d
solver: avoid failing cache export on subbranch error
tonistiigi Oct 3, 2025
c132bdf
Merge pull request #6261 from tonistiigi/cache-export-error-handling
tonistiigi Oct 3, 2025
3a097d7
remotecache: fix inline cache used with multiple exporters
tonistiigi Oct 3, 2025
1ff9b1c
vendor: github.com/containerd/go-cni v1.1.13
thaJeztah Oct 5, 2025
994d393
vendor: github.com/docker/cli v28.5.0
thaJeztah Oct 5, 2025
544f3d2
build(deps): bump softprops/action-gh-release from 2.3.3 to 2.3.4
dependabot[bot] Oct 6, 2025
6496570
Merge pull request #6266 from thaJeztah/bump_cli
AkihiroSuda Oct 6, 2025
cbdd497
Merge pull request #6265 from thaJeztah/bump_go_cni
AkihiroSuda Oct 6, 2025
bea1291
Merge pull request #6260 from fiam/upgrade-golang.org/x/exp
AkihiroSuda Oct 6, 2025
8bd2eea
docs: provenanceEnvDir in buildkitd.toml
crazy-max Oct 6, 2025
edcafc2
Merge pull request #6268 from moby/dependabot/github_actions/softprop…
crazy-max Oct 6, 2025
fe65d5f
Merge pull request #6263 from tonistiigi/fix-inline-cache-concurrency…
crazy-max Oct 6, 2025
687fb28
client: add test for deleted blobs in remote cache
tonistiigi Oct 6, 2025
9d6d33d
control: handle duplicate inline cache exporter
tonistiigi Oct 4, 2025
af87f27
provenance: avoid intermediate wrapper for custom fields
tonistiigi Oct 6, 2025
7bd4fa5
Merge pull request #6273 from tonistiigi/deleted-blob-test
crazy-max Oct 7, 2025
f522ab3
Merge pull request #6275 from tonistiigi/provenance-custom-fix
crazy-max Oct 7, 2025
84a7731
Merge pull request #6269 from crazy-max/docs-provenance-env-dir
tonistiigi Oct 7, 2025
f0521fd
dockerfile: fix customenv test for dockerd
tonistiigi Oct 7, 2025
0c317b1
build(deps): bump softprops/action-gh-release from 2.3.4 to 2.4.0
dependabot[bot] Oct 8, 2025
14c1a42
build(deps): bump github/codeql-action from 3 to 4
dependabot[bot] Oct 8, 2025
23fd264
vendor: golang.org/x/sys v0.34.0
thaJeztah Aug 13, 2025
3c83725
vendor: github.com/containerd/stargz-snapshotter/estargz v0.17.0
thaJeztah Aug 13, 2025
353ae73
vendor: google.golang.org/grpc v1.73.0
thaJeztah Sep 15, 2025
0ab034e
vendor: github.com/containerd/stargz-snapshotter v0.17.0
thaJeztah Aug 13, 2025
4825953
Merge pull request #6280 from moby/dependabot/github_actions/github/c…
crazy-max Oct 8, 2025
dd21c26
Merge pull request #6277 from tonistiigi/customenv-test-zerov
crazy-max Oct 8, 2025
068c0bf
Merge pull request #6157 from thaJeztah/bump_stargz
crazy-max Oct 8, 2025
e32f913
Merge pull request #6279 from moby/dependabot/github_actions/softprop…
crazy-max Oct 8, 2025
1742649
Merge pull request #6272 from tonistiigi/duplicate-inline-exporter
tonistiigi Oct 8, 2025
31c7091
Merge pull request #6259 from tonistiigi/git-tag-mutation-fix
tonistiigi Oct 8, 2025
9576254
git: fix potential difference between cache and snapshot
tonistiigi Oct 9, 2025
7cf577a
Merge pull request #6238 from jsternberg/exclude-pattern-too-broad-ca…
AkihiroSuda Oct 10, 2025
0888dc4
dfgitutil: FragmentFormat func
crazy-max Oct 9, 2025
9b6f60a
Merge pull request #6284 from crazy-max/git-fragment-format-func
tonistiigi Oct 11, 2025
02dd8df
build(deps): bump softprops/action-gh-release from 2.4.0 to 2.4.1
dependabot[bot] Oct 13, 2025
7ed158d
http: avoid opaque hardcoded digests in tests
tonistiigi Oct 12, 2025
4eb606e
Merge pull request #6287 from tonistiigi/http-tests-digests
crazy-max Oct 13, 2025
62f34e8
Merge pull request #6281 from tonistiigi/git-cache-snapshot-check
crazy-max Oct 13, 2025
78a6eb8
Merge pull request #6286 from moby/dependabot/github_actions/softprop…
crazy-max Oct 13, 2025
32cbdcd
git: make Source struct public
tonistiigi Oct 9, 2025
70e5929
git: add git commit support to ResolveSourceMeta
tonistiigi Oct 10, 2025
30a3486
solver: add jobcontext to ops caller
tonistiigi Oct 12, 2025
399c615
Merge pull request #6254 from crazy-max/hack-slsa-v1
tonistiigi Oct 13, 2025
1fa57ee
hack: use bake to build buildkit images
crazy-max Aug 14, 2025
35b3879
Merge pull request #6283 from tonistiigi/git-source-meta-resolve
tonistiigi Oct 13, 2025
b41ad2f
http: add http support to ResolveSourceMeta
tonistiigi Oct 10, 2025
e1b4261
Merge pull request #6107 from crazy-max/bake-images
crazy-max Oct 13, 2025
395b2f8
Merge pull request #6285 from tonistiigi/http-source-meta-resolve
tonistiigi Oct 13, 2025
ac10b41
frontend: add required paths to LLB and use it with --parents
jsternberg Oct 13, 2025
3f7b522
Merge pull request #6288 from tonistiigi/solver-jobctx
tonistiigi Oct 13, 2025
7bb9231
solver: add cleanup function to jobctx and pass through sources
tonistiigi Oct 13, 2025
80766cd
http: fix release race between cache and snapshot
tonistiigi Oct 13, 2025
23a0dd7
solver: add jobCtx support to metadata resolver
tonistiigi Oct 14, 2025
b79407a
ci: publish ubuntu variant with nvidia build tag
crazy-max Oct 13, 2025
7b10db1
ci: publish ubuntu variant with nvidia and venus build tags
crazy-max Oct 14, 2025
dcbb752
Merge pull request #6292 from tonistiigi/http-release-fix
tonistiigi Oct 14, 2025
bc3666b
Merge pull request #6290 from crazy-max/ubuntu-nvidia-push
crazy-max Oct 15, 2025
05fdd00
hack: use bake to build buildkit binaries
crazy-max Oct 14, 2025
df4d2ae
solver: add ResolverCache support
tonistiigi Oct 15, 2025
1cff633
git: add resolvercache support to git source
tonistiigi Oct 15, 2025
e6d9fcd
Merge pull request #6293 from tonistiigi/add-resolvercache
tonistiigi Oct 17, 2025
a248127
git: separate remoteFetch from checkout for better reuse
tonistiigi Oct 16, 2025
5f6a7ef
source: add raw commit/tag object access to resolveMetadata
tonistiigi Oct 16, 2025
5e410ed
client: add test for git metadata resolve with return object
tonistiigi Oct 17, 2025
0f54427
ci: push latest-ubuntu tag
crazy-max Oct 15, 2025
610dbfa
Enable Windows support for BuildKit integration tests
Sep 17, 2025
c2868bc
Merge pull request #6230 from rzlink/test
tonistiigi Oct 20, 2025
1cdfd79
dockerfile: add subrequest for converting LLB contents for dockerfile
jsternberg Oct 21, 2025
2d5e9a6
Merge pull request #6294 from crazy-max/latest-ubuntu
tonistiigi Oct 22, 2025
d74102e
Merge pull request #6108 from crazy-max/bake-binaries
tonistiigi Oct 22, 2025
3d3d82b
Merge pull request #6298 from tonistiigi/git-object-resolve
tonistiigi Oct 22, 2025
1a3289a
hack: gpg test fixtures generation
tonistiigi Oct 16, 2025
04a3874
hack: ssh fixtures generation
tonistiigi Oct 21, 2025
7d8cd25
git: test PGP signature verification
tonistiigi Oct 21, 2025
aade644
git: test SSH signature verification
tonistiigi Oct 22, 2025
81a7983
git: add signature verification to CacheKey and ResolveMetadata
tonistiigi Oct 22, 2025
101d754
Merge pull request #6229 from jsternberg/copy-parents
tonistiigi Oct 22, 2025
3ccd963
Enable skipped E2E test on windows
rzlink Oct 22, 2025
7aa35c9
README: Update dalec URL
cpuguy83 Oct 23, 2025
5ee9c96
Merge pull request #6302 from cpuguy83/update_dalec_url
crazy-max Oct 23, 2025
b548172
Merge pull request #6295 from jsternberg/dumpllb-subrequest
tonistiigi Oct 23, 2025
60e51d4
Merge pull request #6301 from rzlink/skipped_test
tonistiigi Oct 23, 2025
0492d14
docs: explain ADD --unpack flag
dvdksn Oct 24, 2025
192bdc3
Merge pull request #6305 from dvdksn/add-unpack-docs
crazy-max Oct 24, 2025
ad09717
build(deps): bump actions/upload-artifact from 4 to 5
dependabot[bot] Oct 27, 2025
687df94
build(deps): bump actions/download-artifact from 5 to 6
dependabot[bot] Oct 27, 2025
0907362
Merge pull request #6306 from moby/dependabot/github_actions/actions/…
crazy-max Oct 27, 2025
202e28f
Merge pull request #6307 from moby/dependabot/github_actions/actions/…
crazy-max Oct 27, 2025
739a8a7
fix metadata resp.Body leak
Oct 31, 2025
a251581
Merge pull request #6300 from tonistiigi/git-signature-verification
tonistiigi Nov 1, 2025
09426ca
vendor: update containerd to v2.2.0-rc.0
tonistiigi Nov 3, 2025
81d5276
frontend/dockerfile: add Windows skip reasons and enable cross-platfo…
rzlink Oct 29, 2025
1da466a
Merge pull request #6329 from rzlink/dockerfile_test
tonistiigi Nov 4, 2025
efff272
Merge pull request #6326 from tonistiigi/update-containerd-v2.2.0-rc.0
tonistiigi Nov 4, 2025
19a6375
vendor: update azcore to v1.18.2
tonistiigi Nov 3, 2025
a316d4a
vendor: update flock to v0.13.0
tonistiigi Nov 3, 2025
28700dd
vendor: update opentelemetry
tonistiigi Nov 3, 2025
a1ff679
vendor: update aws sdk to v1.38.1
tonistiigi Nov 3, 2025
dab941a
vendor: update x/crypto to v0.42
tonistiigi Nov 3, 2025
3b5207c
vendor: update go-securesystemslib to v0.9.1
tonistiigi Nov 3, 2025
4a36f3a
vendor: update containerd to v2.2.0-rc.1
tonistiigi Nov 4, 2025
159dc9b
dockerfile: update runc to 1.3.3
crazy-max Nov 5, 2025
10d7eef
Merge pull request #6331 from crazy-max/runc-update
AkihiroSuda Nov 5, 2025
d0a7f19
Merge pull request #6328 from tonistiigi/20251103-update-deps
AkihiroSuda Nov 5, 2025
90b5d0c
ci: create ubuntu tag for buildx image
crazy-max Nov 5, 2025
213690b
Merge pull request #6333 from crazy-max/buildx-stable-1-gpu
tonistiigi Nov 5, 2025
29900de
Merge pull request #6313 from grey3228/fix/close_metadata_resp_body
tonistiigi Nov 5, 2025
98d0a0a
dockerfile: promote --parents flag from labs
jsternberg Nov 5, 2025
a98a262
contentutil: allow referrers objects to be moved with CopyChain
tonistiigi Nov 5, 2025
079060b
Merge pull request #6282 from jsternberg/promote-parents-from-labs
tonistiigi Nov 5, 2025
e18be41
Merge pull request #6336 from tonistiigi/contentutil-referrers
tonistiigi Nov 5, 2025
9324520
dockerfile: promote RUN --security flag from labs
jsternberg Oct 31, 2025
f890b2e
contrib(nvidia): match right apt repo based on os release
crazy-max Oct 23, 2025
174ae20
Merge pull request #6312 from jsternberg/promote-runsecurity-from-labs
tonistiigi Nov 5, 2025
5b97613
Merge pull request #5913 from crazy-max/nvidia-contrib-match-repo
tonistiigi Nov 5, 2025
b1118d8
image: move image source resolver away from old interface
tonistiigi Nov 5, 2025
a13afb5
image: add attestationchain resolving to resolvesourcemeta
tonistiigi Nov 5, 2025
2fc7854
image: remove image manifest content from attestation chain
tonistiigi Nov 5, 2025
4ab3e37
Merge pull request #6330 from tonistiigi/image-source-metadata
tonistiigi Nov 5, 2025
f79f1a9
policysession: dynamic source policy support
tonistiigi Oct 3, 2025
badc4d9
client: add policy test for source meta resolver
tonistiigi Oct 7, 2025
bab17af
llbsolver: update policy validation to parallel
tonistiigi Oct 8, 2025
46de852
Merge pull request #6276 from tonistiigi/policysession
tonistiigi Nov 5, 2025
5803ef6
go.mod: github.com/containerd/containerd/v2 v2.2.0
AkihiroSuda Nov 6, 2025
474cae7
Merge pull request #6339 from AkihiroSuda/containerd-2.2
tonistiigi Nov 7, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
166 changes: 125 additions & 41 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ We also like to send gifts—if you're into schwag, make sure to let
us know. We currently do not offer a paid security bounty program, but are not
ruling it out in the future.


## Reporting other issues

A great way to contribute to the project is to send a detailed report when you
Expand Down Expand Up @@ -52,59 +51,146 @@ Dependencies:
- [runc](https://github.com/opencontainers/runc)
- [containerd](https://github.com/containerd/containerd) (if you want to use containerd worker)


The following command installs `buildkitd` and `buildctl` to `/usr/local/bin`:

```bash
make && sudo make install
```

You can also use `make binaries-all` to prepare `buildkitd.containerd_only` and `buildkitd.oci_only`.

To build containerized `moby/buildkit:local` and `moby/buildkit:local-rootless` images:
```bash
make images
```

### Run BuildKit

You can launch the backend BuildKit daemon either in a container, or directly:

```bash
# run the daemon in a container
$ docker run --rm -d --name buildkitd --privileged moby/buildkit:local
$ export BUILDKIT_HOST=docker-container://buildkitd
$ buildctl debug info
BuildKit: github.com/moby/buildkit v0.11.0-rc3-623-g2ff0d2a2f.m 2ff0d2a2f53663aae917980fa27eada7950ff69c.m
```

```bash
# run the daemon directly (only on linux)
$ sudo buildkitd
$ export BUILDKIT_HOST=unix:///run/buildkit/buildkitd.sock
$ sudo buildctl debug info
BuildKit: github.com/moby/buildkit v0.11.0-rc3-506-g539bab193.m 539bab193c28d3ce731e6013f471ba24848f5c41.m
```

You can also connect buildx to the BuildKit daemon using the [`remote` driver](https://docs.docker.com/build/drivers/remote/):

```bash
$ docker buildx create --driver=remote --name=dev $BUILDKIT_HOST
$ docker buildx --builder=dev inspect
Name: dev
Driver: remote
Last Activity: 2023-06-06 14:15:52 +0000 UTC

Nodes:
Name: dev0
Endpoint: tcp://localhost:1234
Status: running
Buildkit: v0.11.0-rc3-506-g539bab193.m
Platforms: linux/amd64, linux/amd64/v2, linux/amd64/v3, linux/386
```

### Run BuildKit using Buildx

You can also have buildx run and manage the custom BuildKit daemon itself using
the [`docker-container` driver](https://docs.docker.com/build/drivers/remote/).

This is usually the easiest way to get started with a custom BuildKit daemon
for development or debugging.

```bash
$ docker buildx rm dev || true # remove previous dev builder if exists
$ docker buildx create --driver=docker-container --name=dev --driver-opt image=moby/buildkit:local --bootstrap
[+] Building 0.3s (1/1) FINISHED
=> [internal] booting buildkit
=> => starting container buildx_buildkit_dev0
dev
$ docker buildx --builder=dev inspect
Name: dev
Driver: docker-container
Last Activity: 2023-06-06 14:15:52 +0000 UTC

Nodes:
Name: dev0
Endpoint: desktop-linux
Driver Options: image="moby/buildkit:local"
Status: running
Buildkit: v0.11.0-rc3-623-g2ff0d2a2f.m
Platforms: linux/amd64, linux/amd64/v2, linux/amd64/v3, linux/arm64, linux/riscv64, linux/ppc64le, linux/s390x, linux/386, linux/mips64le, linux/mips64, linux/arm/v7, linux/arm/v6
```

### Run the unit- and integration-tests

Running tests:

```bash
make test
./hack/test integration gateway dockerfile
```

This runs all unit and integration tests in a containerized environment.
This runs all unit and integration tests, gateway client and dockerfile tests in a containerized environment.
Locally, every package can be tested separately with standard Go tools, but
integration tests are skipped if local user doesn't have enough permissions or
worker binaries are not installed.
worker binaries are not installed. The dockerfile tests run by first building new Dockerfile frontend
image and then loading it to the test environment. Builtin Dockerfile frontend can be tested with regular
integration tests.

```bash
# test a specific package only
make test TESTPKGS=./client
TESTPKGS=./client ./hack/test integration

# run a specific test with all worker combinations
make test TESTPKGS=./client TESTFLAGS="--run /TestCallDiskUsage -v"
TESTPKGS=./client TESTFLAGS="--run /TestCallDiskUsage -v" ./hack/test integration

# run all integration tests with a specific worker
# supported workers: oci, oci-rootless, containerd, containerd-1.1
make test TESTPKGS=./client TESTFLAGS="--run //worker=containerd -v"
TESTPKGS=./client TESTFLAGS="--run //worker=containerd -v" ./hack/test integration

# run a specific dockerfile test only on labs channel
DOCKERFILE_RELEASES=labs TESTFLAGS="--run /TestRunGlobalNetwork/worker=oci$/ -v" ./hack/test dockerfile

# enabling go data race detector
CGO_ENABLED=1 GOBUILDFLAGS="-race" ./hack/test integration
```

Updating vendored dependencies:
Set `TEST_KEEP_CACHE=1` for the test framework to keep external dependant images in a docker volume
if you are repeatedly calling `./hack/test` script. This helps to avoid rate limiting on the remote registry side.

You can also set `MOUNT_BUILDKIT_DOCKER_CONFIG_PATH` to forward docker config that will be used to pull
test images into the container. Don't use your personal docker config, create a new one with a dedicated
token that only has public read-only access.

If you are working behind a proxy, you can set some of or all
`HTTP_PROXY=http://ip:port`, `HTTPS_PROXY=http://ip:port`, `NO_PROXY=http://ip:port` for the test framework
to specify the proxy build args.

### Run the helper commands

To validate PRs before submitting them you should run:

```bash
# update vendor.conf
make vendor
$ make validate-all
```

Validating your updates before submission:
To generate new vendored files with go modules run:

```bash
make validate-all
$ make vendor
```

To generate new versions of automatically generated files run:

```bash
$ make generated-files
```

### Pull requests are always welcome

Expand Down Expand Up @@ -144,7 +230,7 @@ otherwise cleanup our project.
<td>
<p>
Register for the Docker Community Slack (dockercommunity.slack.com)
<a href="https://join.slack.com/t/dockercommunity/shared_invite/enQtNDY4MDc1Mzc0MzIwLTgxZDBlMmM4ZGEyNDc1N2FkMzlhODJkYmE1YTVkYjM1MDE3ZjAwZjBkOGFlOTJkZjRmZGYzNjYyY2M3ZTUxYzQ" target="_blank">Click here for an invite to docker community slack</a>.
<a href="https://dockr.ly/comm-slack" target="_blank">Click here for an invite to docker community slack</a>.
You'll find us in <code>#buildkit</code> channel, and the <code>#moby-project</code> channel for general discussions.
</p>
</td>
Expand Down Expand Up @@ -320,13 +406,11 @@ down to one.
from the Git history.
- See the [Coding Style](#coding-style) for further guidelines.


### Merge approval

Project maintainers use LGTM (Looks Good To Me) in comments on the code review to
indicate acceptance, or use the Github review approval feature.


## Coding Style

Unless explicitly stated, we follow all coding guidelines from the Go
Expand All @@ -343,29 +427,29 @@ mind when nudging others to comply.

The rules:

1. All code should be formatted with `gofmt -s`.
2. All code should pass the default levels of
[`golint`](https://github.com/golang/lint).
3. All code should follow the guidelines covered in [Effective
Go](http://golang.org/doc/effective_go.html) and [Go Code Review
Comments](https://github.com/golang/go/wiki/CodeReviewComments).
4. Comment the code. Tell us the why, the history and the context.
5. Document _all_ declarations and methods, even private ones. Declare
expectations, caveats and anything else that may be important. If a type
gets exported, having the comments already there will ensure it's ready.
6. Variable name length should be proportional to its context and no longer.
`noCommaALongVariableNameLikeThisIsNotMoreClearWhenASimpleCommentWouldDo`.
In practice, short methods will have short variable names and globals will
have longer names.
7. No underscores in package names. If you need a compound name, step back,
and re-examine why you need a compound name. If you still think you need a
compound name, lose the underscore.
8. No utils or helpers packages. If a function is not general enough to
warrant its own package, it has not been written generally enough to be a
part of a util package. Just leave it unexported and well-documented.
9. All tests should run with `go test` and outside tooling should not be
required. No, we don't need another unit testing framework. Assertion
packages are acceptable if they provide _real_ incremental value.
1. All code should be formatted with `gofmt -s`.
2. All code should pass the default levels of
[`golint`](https://github.com/golang/lint).
3. All code should follow the guidelines covered in [Effective
Go](http://golang.org/doc/effective_go.html) and [Go Code Review
Comments](https://github.com/golang/go/wiki/CodeReviewComments).
4. Comment the code. Tell us the why, the history and the context.
5. Document _all_ declarations and methods, even private ones. Declare
expectations, caveats and anything else that may be important. If a type
gets exported, having the comments already there will ensure it's ready.
6. Variable name length should be proportional to its context and no longer.
`noCommaALongVariableNameLikeThisIsNotMoreClearWhenASimpleCommentWouldDo`.
In practice, short methods will have short variable names and globals will
have longer names.
7. No underscores in package names. If you need a compound name, step back,
and re-examine why you need a compound name. If you still think you need a
compound name, lose the underscore.
8. No utils or helpers packages. If a function is not general enough to
warrant its own package, it has not been written generally enough to be a
part of a util package. Just leave it unexported and well-documented.
9. All tests should run with `go test` and outside tooling should not be
required. No, we don't need another unit testing framework. Assertion
packages are acceptable if they provide _real_ incremental value.
10. Even though we call these "rules" above, they are actually just
guidelines. Since you've read all the rules, you now know that.

Expand Down
76 changes: 76 additions & 0 deletions .github/ISSUE_TEMPLATE/bug.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
name: Bug Report
description: File a bug report.
type: "bug"
labels:
- status/triage
body:
- type: markdown
attributes:
value: |
**Thank you for taking the time to report a bug!**
If this is a security issue please report it to the [Docker Security team](mailto:[email protected]), see [SECURITY.md](https://github.com/moby/buildkit/blob/master/.github/SECURITY.md) for more information.

- type: checkboxes
attributes:
label: Contributing guidelines and issue reporting guide
description: |
Please read the contributing guidelines and issue reporting guide before proceeding.
options:
- label: I've read the [contributing guidelines](https://github.com/moby/buildkit/blob/master/.github/CONTRIBUTING.md) and wholeheartedly agree. I've also read the [issue reporting guide](https://github.com/moby/buildkit/blob/master/.github/issue_reporting_guide.md).
required: true

- type: checkboxes
attributes:
label: Well-formed report checklist
description: |
Make sure that your request fulfills all of the following requirements.
If one requirement cannot be satisfied, explain in detail why.
options:
- label: I have found a bug that the documentation does not mention anything about my problem
required: true
- label: I have found a bug that there are no open or closed issues that are related to my problem
required: true
- label: I have provided version/information about my environment and done my best to provide a reproducer
required: true

- type: textarea
attributes:
label: Description of bug
description: |
Please provide a description of the bug, reproduction steps and version information.

<details>
<summary>How to collect version information</summary>

Using `buildctl` and `buildkitd` to get version information
```bash
buildctl --version && buildkitd version
```

Using `docker` to get BuildKit information
```bash
docker buildx version && docker buildx inspect
```

Add Docker Engine information (if available)
```bash
docker version && docker info
```

</details>
value: |
## Bug description

A description of the bug, observed, and expected behaviour.

## Reproduction

Steps to reproduce the problem. If you are using `docker build` or `docker buildx build` providing the command as well as any input files will help analysis.

## Version information

```bash
terminal_output
```
validations:
required: true
12 changes: 12 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/configuring-issue-templates-for-your-repository#configuring-the-template-chooser
blank_issues_enabled: true
contact_links:
- name: Questions and Discussions
url: https://github.com/moby/buildkit/discussions/new
about: Use Github Discussions to ask questions and/or open discussion topics.
- name: Documentation
url: https://github.com/moby/buildkit/tree/master/docs
about: Read the documentation.
- name: Join the Docker Community on Slack
url: http://dockr.ly/comm-slack
about: Join the Docker Community on Slack and head to the buildkit channel.
14 changes: 14 additions & 0 deletions .github/ISSUE_TEMPLATE/feature.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Feature or enhancement request
description: Missing functionality? Come tell us about it!
type: "enhancement"
labels:
- status/triage

body:
- type: textarea
id: description
attributes:
label: Description
description: What is the feature you want to see?
validations:
required: true
15 changes: 15 additions & 0 deletions .github/SECURITY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Reporting security issues

The project maintainers take security seriously. If you discover a security
issue, please bring it to their attention right away!

**Please _DO NOT_ file a public issue**, instead send your report privately to
[[email protected]](mailto:[email protected]).


Explanation of BuildKit security boundary and what we consider a security issue can be found in [here](/PROJECT.md#security-boundary). If you are unsure if you have found a security issue, it is always better to check privately first.

Security reports are greatly appreciated, and we will publicly thank you for it
(if you want to). We also like to send gifts&mdash;if you're into schwag, make
sure to let us know. We currently do not offer a paid security bounty program,
but are not ruling it out in the future.
15 changes: 15 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
version: 2
updates:
- package-ecosystem: "github-actions"
open-pull-requests-limit: 10
directory: "/"
schedule:
interval: "daily"
ignore:
# ignore this dependency
# it seems a bug with dependabot as pining to commit sha should not
# trigger a new version: https://github.com/docker/buildx/pull/2222#issuecomment-1919092153
- dependency-name: "docker/docs"
labels:
- "area/dependencies"
- "bot"
Loading