Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
497 commits
Select commit Hold shift + click to select a range
89bbb62
Merge pull request #4580 from crazy-max/hack-enforce-context
tonistiigi Jan 24, 2024
42d866e
oci: fix error handling on submount calls
tonistiigi Jan 24, 2024
51aca40
solver: use errors.Is when checking context.Cause()
jedevc Jan 25, 2024
ca6cc00
chore: remove noisy rootlesskit cni log
jedevc Jan 25, 2024
2471c5b
docs: tiny improvements
dvdksn Jan 25, 2024
584ec40
Do not include a cache mount's ID in the ExecOp's cachemap
cpuguy83 Jan 25, 2024
cb82eb9
chore: remove unused cachechains parent link
jedevc Jan 24, 2024
8d6199a
chore: update CacheExporterTarget docs
jedevc Jan 24, 2024
c379e84
chore: add some doc-comments in remotecache
jedevc Jan 24, 2024
39ad6e0
chore: refactor item.validate for readability
jedevc Jan 24, 2024
f5ddaef
chore: document CacheChains.Marshal
jedevc Jan 25, 2024
36cc4d9
Merge pull request #4588 from jedevc/remove-debug-rootlesskit
AkihiroSuda Jan 25, 2024
a2f9383
Merge pull request #4590 from dvdksn/docs-fixups
tonistiigi Jan 25, 2024
c1a9bdb
Merge pull request #4587 from jedevc/use-errors-is
tonistiigi Jan 25, 2024
5092e0f
Merge pull request #4584 from tonistiigi/submount-errors
tonistiigi Jan 25, 2024
22b78ef
vendor: github.com/docker/docker v25.0.1
thaJeztah Jan 26, 2024
01bd30e
vendor: github.com/docker/cli v25.0.1
thaJeztah Jan 26, 2024
6bd8137
Merge pull request #4591 from thaJeztah/docker_25.0.1
crazy-max Jan 26, 2024
d5a5df5
vendor: bump github.com/aws/aws-sdk-go-v2 deps
crazy-max Aug 17, 2023
73862d1
s3: rely on aws sdk v2 error types
crazy-max Aug 17, 2023
ba7b949
s3: fix deprecated EndpointResolver
crazy-max Aug 17, 2023
6337e81
chore: close solver resources on shutdown
jedevc Jan 26, 2024
23b9dd8
Merge pull request #4592 from jedevc/close-solver
tonistiigi Jan 26, 2024
4438f4f
Merge pull request #4585 from cpuguy83/exclude_cachemount_id_from_cac…
tonistiigi Jan 26, 2024
0fecf46
Merge pull request #4589 from jedevc/cachechains-readability
tonistiigi Jan 29, 2024
447b4e1
Integration tests: use LocalMounts instead of deprecated LocalDirs
leandrosansilva Jan 24, 2024
b3d99d6
Replace usage of LocalDirs with LocalMounts in buildctl and examples
leandrosansilva Jan 24, 2024
704268a
Add test to check that `client.SolveOpt.LocalDirs` still works
leandrosansilva Jan 29, 2024
2d608c3
Merge pull request #4529 from tonistiigi/lease-flightcontrol-fix
tonistiigi Jan 29, 2024
8445651
update runc to v1.1.11
tonistiigi Jan 29, 2024
9d09122
Merge pull request #4160 from crazy-max/bump-aws
tonistiigi Jan 30, 2024
ef61ad1
Merge pull request #4596 from tonistiigi/update-runc-v1.1.1
AkihiroSuda Jan 30, 2024
c7ce41a
Add --chown and --chmod to commitMessage for ADD/COPY command
nobiit Jan 30, 2024
ff4dd61
chore: fix remotecache/v1/doc.go
jedevc Jan 30, 2024
cd8a356
Merge pull request #4599 from jedevc/fix-remotecache-doc
jedevc Jan 30, 2024
e091baf
Add --parents to commitMessage for ADD/COPY command
nobiit Jan 31, 2024
fcbcf1b
Fix missing chown/chmod when using parents flag with ADD/COPY command
nobiit Jan 30, 2024
6b2dfbc
Merge pull request #4598 from nobiit/patch-2
jedevc Jan 31, 2024
6495c2b
exporter: validate null config metadata from gateway
tonistiigi Dec 18, 2023
6366423
exporter: add validation for invalid platorm
tonistiigi Dec 18, 2023
8dfaf01
exporter: add validation for platforms key value
tonistiigi Dec 18, 2023
e11862c
sourcepolicy: add validations for nil values
tonistiigi Dec 18, 2023
5d7d85f
pb: add extra validation to protobuf types
tonistiigi Dec 18, 2023
0c5daa2
gateway: pass executor with build and not access worker directly
tonistiigi Dec 12, 2023
65c3c9c
llbsolver: make sure interactive container API validates entitlements
tonistiigi Dec 13, 2023
23bebc4
executor: recheck mount stub path within root after container run
tonistiigi Dec 13, 2023
c82ace1
exec: add extra validation for submount sources
tonistiigi Dec 20, 2023
fdb2397
update runc to v1.1.12
tonistiigi Jan 31, 2024
d1ccbb7
Merge pull request #4600 from tonistiigi/0131-update-runc-1.1.12
tonistiigi Jan 31, 2024
c37d3c3
Merge pull request #4602 from tonistiigi/0131-fix-interactive-entitle…
tonistiigi Jan 31, 2024
79fa2a1
Merge pull request #4603 from tonistiigi/0131-fix-stubs-cleaner
tonistiigi Jan 31, 2024
3436b4d
Merge pull request #4604 from tonistiigi/0131-fix-subpaths-mount
AkihiroSuda Jan 31, 2024
1981eb1
Merge pull request #4601 from tonistiigi/0131-fix-validate-nil
tonistiigi Jan 31, 2024
96890b5
ci(dockerd): bump docker to 25.0.2
crazy-max Feb 1, 2024
dd2c596
ci: bump actions/github-script to v7
crazy-max Feb 1, 2024
cae40f9
ci: bump codecov/codecov-action to v4
crazy-max Feb 1, 2024
dff23a7
test: warn if testing dockerd worker without disabled features
crazy-max Feb 1, 2024
3ea25b7
ci: bump actions/upload-artifact and actions/download-artifact to 4
crazy-max Feb 1, 2024
7cc77e4
ci: bump gotest-annotations to fa6141aedf23596fb8bdcceab9cce8dadaa31bd9
crazy-max Feb 1, 2024
2dc1945
ci(docs-upstream): pin reusable workflow
crazy-max Feb 1, 2024
629429a
docs: make the warning about build arguments
dvdksn Feb 1, 2024
d906167
Merge pull request #4608 from dvdksn/docs-build-args-arent-secret
crazy-max Feb 1, 2024
3c6f6e4
chore: refactor IsGitTransport to avoid duplication
jedevc Feb 1, 2024
485ffeb
Merge pull request #4606 from crazy-max/test-dockerd-warn
tonistiigi Feb 1, 2024
08d844e
Merge pull request #4609 from jedevc/is-git-transport
tonistiigi Feb 1, 2024
5ac0a34
Merge pull request #4605 from crazy-max/bump-gha
tonistiigi Feb 1, 2024
5db3dca
chore(deps): bump actions/cache from 3 to 4
dependabot[bot] Feb 1, 2024
11d19aa
chore(deps): bump nick-fields/retry from 2.9.0 to 3.0.0
dependabot[bot] Feb 1, 2024
9aa7061
chore(deps): bump actions/setup-go from 4 to 5
dependabot[bot] Feb 1, 2024
31a294c
Update fallback logic to only fallback with previous host
dmcgowan Feb 1, 2024
318cd6c
Merge pull request #4610 from moby/dependabot/github_actions/actions/…
crazy-max Feb 2, 2024
e073c39
Merge pull request #4611 from moby/dependabot/github_actions/nick-fie…
crazy-max Feb 2, 2024
b09a9f1
Merge pull request #4612 from moby/dependabot/github_actions/actions/…
crazy-max Feb 2, 2024
29292e6
Fix regression `/run/buildkit is inaccessible for socket user`
AkihiroSuda Feb 3, 2024
6689e91
vendor: github.com/docker/docker v25.0.2
thaJeztah Feb 5, 2024
1c80012
vendor: github.com/docker/cli v25.0.2
thaJeztah Feb 5, 2024
d6e1426
Merge pull request #4622 from thaJeztah/docker_25.0.2
AkihiroSuda Feb 5, 2024
f5e0652
vendor: github.com/containerd/console v1.0.4
crazy-max Feb 5, 2024
1057dc2
Merge pull request #4621 from crazy-max/bump-containerd-console
AkihiroSuda Feb 5, 2024
98bfcf4
exec: refactor content-based cache detection
jedevc Feb 5, 2024
ab17c1d
exec: allow content-cache for root selected mounts
jedevc Feb 5, 2024
0eb25a6
exec: allow caller-controlled content-based cache
jedevc Feb 5, 2024
ed2efe3
test: add new content-cache exec mount tests
jedevc Feb 5, 2024
db3aaa3
Merge pull request #4619 from AkihiroSuda/fix-4618
crazy-max Feb 6, 2024
51f7dd2
vendor: github.com/docker/docker v25.0.3
thaJeztah Feb 7, 2024
b63b708
vendor: github.com/docker/cli v25.0.3
thaJeztah Feb 7, 2024
2af7913
docs/rootless.md: move auxiliary information to the bottom
AkihiroSuda Feb 7, 2024
7c0d261
Merge pull request #4583 from leandrosansilva/refactoring/do_not_use_…
jedevc Feb 7, 2024
aa8d9ef
Merge pull request #4624 from jedevc/control-mount-content-cache
tonistiigi Feb 7, 2024
e881a1b
Merge pull request #4626 from AkihiroSuda/docs-rootless-md
tonistiigi Feb 7, 2024
77b2e8f
Merge pull request #4625 from thaJeztah/docker_25.0.3
tonistiigi Feb 7, 2024
d2af708
go.mod: update containerd to v1.7.13
vvoland Feb 8, 2024
6b6664a
Merge pull request #4631 from vvoland/c8d-1.7.13
crazy-max Feb 8, 2024
c6efd41
Merge pull request #4613 from dmcgowan/fix-http-fallback
tonistiigi Feb 8, 2024
a55014a
resolver: Isolate auth token cache per session
marxarelli Feb 6, 2023
1a5cf52
resolver: Limit auth handler isolation to push scopes
marxarelli Jun 21, 2023
c8b64d3
Merge pull request #4597 from nobiit/patch-1
tonistiigi Feb 8, 2024
effe19a
Fix source police mutation for named context
cpuguy83 Sep 6, 2023
b550632
keep local dns in resolv.conf when host network enabled
crazy-max Jan 4, 2024
a6273a5
archutil: move dockerfile to hack and update scripts
crazy-max Feb 1, 2024
9b86f3b
archutil: validate
crazy-max Feb 1, 2024
b927098
dockerfile(archutil): bump to trixie
crazy-max Feb 2, 2024
2860930
dockerfile(archutil): mark the stack as non-executable for amd64
crazy-max Feb 2, 2024
c48bbd1
dockerfile(archutil): strip debug info
crazy-max Feb 9, 2024
07f6444
archutil: generate arch bins
crazy-max Feb 1, 2024
9d4de4d
ci: validate archutil on arm64
crazy-max Feb 2, 2024
0131359
Merge pull request #4607 from crazy-max/ci-archutil
crazy-max Feb 9, 2024
092bec8
Merge pull request #3592 from marxarelli/review/isolate-token-cache
tonistiigi Feb 9, 2024
2873353
Merge pull request #4524 from crazy-max/host-net-local-dns
tonistiigi Feb 9, 2024
f9e871f
vendor: google.golang.org/grpc v1.59.0
thaJeztah Feb 11, 2024
edbd570
vendor: google.golang.org/genproto/googleapis/rpc 49dd2c1f3d0b
thaJeztah Feb 11, 2024
86cbadf
vendor: github.com/containerd/nydus-snapshotter v0.13.7
thaJeztah Feb 11, 2024
30c069c
replace resolveimageconfig with generic sourcemetaresolver
tonistiigi Jan 14, 2024
1458646
Dockerfile: update Nydus Image Service to v2.2.4
thaJeztah Feb 12, 2024
47d6583
Merge pull request #4563 from tonistiigi/sourceresolver
AkihiroSuda Feb 13, 2024
50ed0dc
add missing fallback from new frontend to daemon without sourceresolver
tonistiigi Feb 14, 2024
0184fde
temporarily use older frontend to unblock CI
tonistiigi Feb 14, 2024
55afcdb
util/multiprovider: Implement Info
vvoland Feb 14, 2024
f1bd3af
Merge pull request #4647 from tonistiigi/sourceresolver-fallback
tonistiigi Feb 14, 2024
022b6f6
Revert "temporarily use older frontend to unblock CI"
tonistiigi Feb 14, 2024
a955c96
Merge pull request #4649 from tonistiigi/revert-ci-version
tonistiigi Feb 14, 2024
ab2ed73
make sure iptables installed in release image
tonistiigi Feb 15, 2024
331b5d5
Merge pull request #4650 from tonistiigi/add-iptables
tonistiigi Feb 15, 2024
973d2d9
exporter: make OnBuild omiteempty
thaJeztah Feb 14, 2024
a7eef82
dockerfile2llb: consistent progress for HTTP and Git ops with ADD
crazy-max Nov 8, 2023
42a0c9c
Dockerfile frontend: expose exclude keyword to ADD and COPY commands
leandrosansilva Nov 24, 2023
e897dc6
Dockerfile: Document exclude patterns on COPY and ADD commands
leandrosansilva Jan 24, 2024
398423f
Integration test for Dockerfile --exclude option
leandrosansilva Jan 22, 2024
516130a
Add llb.WithExcludePatterns
leandrosansilva Feb 13, 2024
fc23da5
Move Dockerfile copy/add --exclude implementation to Labs
leandrosansilva Feb 13, 2024
0befd8f
Dockerfile frontend: add Integration test for context from git
leandrosansilva Feb 14, 2024
4a05215
client: fix multiple exporter test for dockerd worker
crazy-max Feb 15, 2024
c448840
Merge pull request #4654 from crazy-max/fix-test-dockerd
tonistiigi Feb 15, 2024
d324113
CNI bridge firewall: avoid using `iptables` backend on rootless mode
AkihiroSuda Feb 16, 2024
1b7981d
hack: fix unbound variable
crazy-max Feb 16, 2024
bfd1d60
Merge pull request #4656 from crazy-max/fix-hack-test
crazy-max Feb 16, 2024
53c1b9f
client: fix result history media type with dockerd moby
crazy-max Feb 16, 2024
e6270ad
Merge pull request #4635 from thaJeztah/bump_nydus
crazy-max Feb 16, 2024
ecbe984
vendor: github.com/containerd/continuity v0.4.3
thaJeztah Feb 11, 2024
a178519
vendor: github.com/urfave/cli v1.22.14
thaJeztah Feb 11, 2024
c0582a7
vendor: github.com/prometheus/client_golang v1.17.0
thaJeztah Feb 11, 2024
a307a6f
vendor: github.com/prometheus/procfs v0.12.0
thaJeztah Feb 11, 2024
d86c685
vendor: github.com/hanwen/go-fuse/v2 v2.4.0
thaJeztah Feb 11, 2024
376ee3a
vendor: github.com/hashicorp/go-retryablehttp v0.7.5
thaJeztah Feb 11, 2024
fe3f4a9
vendor: github.com/containerd/stargz-snapshotter v0.15.1
thaJeztah Feb 11, 2024
fea465e
Dockerfile update stargz-snapshotter to v0.15.1
thaJeztah Feb 12, 2024
c38d2c1
Merge pull request #4657 from crazy-max/fix-test-dockerd
tonistiigi Feb 16, 2024
fdd2b2e
Merge pull request #4648 from thaJeztah/debug_image_spec
tonistiigi Feb 16, 2024
3f96374
Merge pull request #4641 from thaJeztah/bump_nydus_image_service
crazy-max Feb 19, 2024
098d121
Merge pull request #4636 from thaJeztah/bump_stargz
crazy-max Feb 19, 2024
77cc943
dockerfile: bump alpine to 3.19
crazy-max Feb 19, 2024
c8706ba
dockerfile: bump xx to 1.4.0
crazy-max Feb 19, 2024
7f4cac6
exporter: use docker-spec instead of locally defined types
thaJeztah Feb 10, 2024
0ead016
Merge pull request #4659 from crazy-max/bump-alpine
crazy-max Feb 19, 2024
fc7cd81
ci: set codecov token
crazy-max Feb 19, 2024
365f89e
examples/dockerfile2llb: remove unused `-partial-metadata-file`
AkihiroSuda Feb 19, 2024
4874151
Merge pull request #4660 from crazy-max/codecov-set-token
crazy-max Feb 19, 2024
f644664
add buildkitd.exe to windows binaries
iankingori Feb 19, 2024
4b95d74
Merge pull request #4661 from AkihiroSuda/cleanup-dockerfile2llb
AkihiroSuda Feb 19, 2024
0f06085
fix: typo
saschahemleb Feb 19, 2024
f668293
secret mount: avoid setting `noexec` when an exec bit it set
AkihiroSuda Feb 19, 2024
15cabaf
Merge pull request #4664 from saschahemleb/patch-1
AkihiroSuda Feb 19, 2024
ce23366
ci: inherit secrets from the caller workflow
crazy-max Feb 20, 2024
34c8c96
Merge pull request #4662 from iankingori/release-windows-buildkitd
crazy-max Feb 20, 2024
63523a7
dockerfile: cross build windows support
crazy-max Feb 15, 2024
b5e50a8
dockerfile: binaries-for-test target
crazy-max Feb 15, 2024
5623eff
ci(test-os): build binaries from dockerfile for windows
crazy-max Feb 15, 2024
61d520e
Merge pull request #4670 from AkihiroSuda/fix-4668
tonistiigi Feb 20, 2024
0174381
Merge pull request #4655 from AkihiroSuda/fix-rootless-firewalld
tonistiigi Feb 20, 2024
da55716
Merge pull request #4634 from thaJeztah/use_docker_spec
tonistiigi Feb 20, 2024
3470d08
Merge pull request #4672 from crazy-max/gha-secrets-inherit
tonistiigi Feb 21, 2024
7bd2883
remove accidental debug log
tonistiigi Feb 21, 2024
db304eb
Merge pull request #4675 from tonistiigi/log-remove
crazy-max Feb 21, 2024
4e09402
Merge pull request #4652 from crazy-max/ci-split-win-tests
crazy-max Feb 21, 2024
2d571ea
dockerfile: cross build freebsd support
crazy-max Feb 17, 2024
cd3bbb3
ci(test-os): merge windows and freebsd build
crazy-max Feb 17, 2024
489f5fc
Merge pull request #4658 from crazy-max/ci-split-freebsd
tonistiigi Feb 22, 2024
cd6840d
ci(test-os): split windows tests
crazy-max Feb 19, 2024
0a26c3b
set bridge name and subnet in appdefaults
crazy-max Feb 22, 2024
8e3fe35
Merge pull request #4676 from crazy-max/bridge-defaults
tonistiigi Feb 22, 2024
9c47078
vendor: golang.org/x/net v0.18.0
thaJeztah Feb 22, 2024
841e397
vendor: OTEL v0.46.1 / v1.21.0
thaJeztah Feb 22, 2024
85e9df3
Merge pull request #4558 from vvoland/multiprovider-info
tonistiigi Feb 23, 2024
d6d008b
vendor: update github.com/tonistiigi/fsutil to 7a889f53dbf6
crazy-max Feb 23, 2024
2167e90
dockerfile: add excludepatterns feature to labs
tonistiigi Feb 23, 2024
a27e955
Fix case where TESTFLAGS may be unset
cpuguy83 Feb 23, 2024
e1967bb
dockerfile2llb: emit base image config
AkihiroSuda Feb 19, 2024
516887c
Merge pull request #4408 from crazy-max/dockerfile2llb-progress
tonistiigi Feb 23, 2024
c9bf625
Merge pull request #4677 from thaJeztah/bump_otel
tonistiigi Feb 23, 2024
cc14a06
Avoid applying `SOURCE_DATE_EPOCH` to base images
AkihiroSuda Feb 19, 2024
af63def
Revert "util/multiprovider: Implement Info"
tonistiigi Feb 23, 2024
9c306dd
Merge pull request #4686 from tonistiigi/revert-info
tonistiigi Feb 24, 2024
f54a355
Merge pull request #4684 from cpuguy83/hack_test_fix
tonistiigi Feb 24, 2024
8a8ed08
Merge pull request #4683 from crazy-max/update-fsutil
tonistiigi Feb 24, 2024
c8cf831
Merge pull request #4561 from leandrosansilva/feature/exclude-pattern…
tonistiigi Feb 24, 2024
ba97b0d
Merge pull request #4663 from AkihiroSuda/fix-4614
tonistiigi Feb 24, 2024
d9ed39a
dockerfile2llb: fix ci merge conflict
tonistiigi Feb 24, 2024
c45d02f
Merge pull request #4653 from crazy-max/ci-split-win
tonistiigi Feb 24, 2024
596ef8f
Merge pull request #4687 from tonistiigi/labs-ci-fix
tonistiigi Feb 24, 2024
94e2370
provenance: move types to a dedicated package
crazy-max Feb 24, 2024
f2546aa
Merge pull request #4689 from crazy-max/prv-types
tonistiigi Feb 26, 2024
62365aa
util/multiprovider: Implement Info
vvoland Feb 14, 2024
ca58fc5
DescriptorProviderPair: expose methods used by multiprovider
ktock Feb 24, 2024
d0d472a
vendor: update github.com/containerd/fuse-overlayfs-snapshotter to 1.0.8
crazy-max Feb 27, 2024
9774bde
vendor: update github.com/serialx/hashring to 22c0c7ab6b1b
crazy-max Feb 27, 2024
03caf1a
Merge pull request #4694 from ktock/carry-4558
crazy-max Feb 27, 2024
64dadae
vendor: update github.com/spdx/tools-golang to v0.5.3
crazy-max Feb 27, 2024
432dcad
vendor: update go.etcd.io/bbolt to v1.3.9
crazy-max Feb 27, 2024
424ab92
Merge pull request #4700 from crazy-max/update-spdx
tonistiigi Feb 27, 2024
ad67f86
Merge pull request #4698 from crazy-max/update-hashring
tonistiigi Feb 27, 2024
ff75fc6
Merge pull request #4697 from crazy-max/update-fuse-snap
tonistiigi Feb 27, 2024
8419ef7
cache(gha): add timeout attr for cache export/import
crazy-max Feb 27, 2024
6b5d5d6
cache(gha): increase default timeout to 10m
crazy-max Feb 27, 2024
12a83c0
Merge pull request #4701 from crazy-max/update-bbolt
AkihiroSuda Feb 27, 2024
e0ea0d5
vendor: update github.com/tonistiigi/go-actions-cache to a0b64f338598
crazy-max Feb 27, 2024
ee4542f
Merge pull request #4704 from crazy-max/update-go-actions-cache
crazy-max Feb 27, 2024
e478394
docs: add quick guide for windows
profnandaa Feb 26, 2024
59f70ce
vendor: update github.com/pkg/profile to v1.7.0
crazy-max Feb 27, 2024
678bb8a
Merge pull request #4699 from crazy-max/update-profile
crazy-max Feb 27, 2024
3888649
Merge pull request #4692 from profnandaa/docs/windows-quick-guide
tonistiigi Feb 28, 2024
7b23ff0
Merge pull request #4702 from crazy-max/gha-cache-timeout
tonistiigi Feb 28, 2024
f1df2cc
docs: add quick guide for macOS
AkihiroSuda Feb 28, 2024
7304a0a
docs: typo in windows.md
davhdavh Feb 28, 2024
9af155a
docs: restructure flags/options for add, copy, run
dvdksn Feb 24, 2024
f19a76d
Merge pull request #4707 from AkihiroSuda/docs-mac
crazy-max Feb 28, 2024
e302efd
Merge pull request #4709 from davhdavh/patch-1
crazy-max Feb 28, 2024
aae0abb
Merge pull request #4688 from dvdksn/docs-dockerfile-addcopy-flags-re…
tonistiigi Feb 28, 2024
e91834d
file: use best-effort xattr behavior on unpacking
tonistiigi Feb 29, 2024
a7d1cca
file: fix idmap passed to unpack when userns enabled
tonistiigi Feb 29, 2024
b7432ce
Merge pull request #4711 from tonistiigi/xattrs-besteffort
AkihiroSuda Feb 29, 2024
4a93674
Merge pull request #4712 from tonistiigi/idmap-unpack
AkihiroSuda Feb 29, 2024
8255f65
gateway: mount metadata with nodev
tonistiigi Feb 29, 2024
2a69497
vendor: update github.com/Masterminds/semver to v3.2.1
crazy-max Feb 29, 2024
c50447e
move network sample to resources types
crazy-max Feb 29, 2024
3135152
Merge pull request #4716 from crazy-max/update-semver
crazy-max Feb 29, 2024
ed7451b
test: switch to golang.org/x/mod to check containerd version constraint
crazy-max Feb 29, 2024
9b97031
Merge pull request #4718 from crazy-max/test-switch-x-go-mod
crazy-max Feb 29, 2024
5df020b
Merge pull request #4717 from crazy-max/move-network-sample
crazy-max Feb 29, 2024
7de5894
Merge pull request #4714 from tonistiigi/userns-perm-err
tonistiigi Feb 29, 2024
95b9c4f
dockerfile: don't silently ignore --parents if not labs
tonistiigi Feb 29, 2024
5872120
Merge pull request #4720 from tonistiigi/parents-labs-handle-err
tonistiigi Feb 29, 2024
ca1215b
add loongarch support for buildkit archutil
yzewei Dec 22, 2023
262e626
ci(validate): temporarily disable archutil-arm64 job
crazy-max Feb 18, 2024
0567a81
vendor: update github.com/tonistiigi/fsutil to 7525a1af2bb5
crazy-max Mar 1, 2024
9195a11
util: typo fix
tonistiigi Mar 3, 2024
d959049
dockerfile: allow pivot point for --parents flag
tonistiigi Mar 3, 2024
acaf4cd
dockerfile: add docs for --parents
tonistiigi Mar 3, 2024
b9e1581
fix: windows getting started guide for uniformity
profnandaa Mar 4, 2024
2afc050
Merge pull request #4735 from moby/v0.13.0-picks
AkihiroSuda Mar 5, 2024
082581c
Merge tag 'v0.13.0' into chore-merge-v0.13.0
janishorsts Mar 15, 2026
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
  •  
  •  
  •  
3 changes: 3 additions & 0 deletions .github/SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ issue, please bring it to their attention right away!
**Please _DO NOT_ file a public issue**, instead send your report privately to
[security@docker.com](mailto:security@docker.com).


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—if you're into schwag, make
sure to let us know. We currently do not offer a paid security bounty program,
Expand Down
5 changes: 5 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ updates:
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:
- "dependencies"
- "bot"
270 changes: 270 additions & 0 deletions .github/issue_reporting_guide.md

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions .github/issue_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<!---
Thank you for contributing to BuildKit through issue submission! If you're new to this repository, we encourage you to review our issue reporting guide https://github.com/moby/buildkit/blob/master/.github/issue_reporting_guide.md which outlines the key information you should provide for the process to go smoothly.

Feel free to report bugs, suggest features, or submit proposals here. For general questions about using BuildKit, consider joining the #buildkit channel on the Docker Community Slack, where a broader community can provide support and insights.
--->
50 changes: 23 additions & 27 deletions .github/workflows/.test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ on:

env:
GO_VERSION: "1.21"
SETUP_BUILDX_VERSION: "v0.14.1" # TODO(jhorsts): replace with upstream
SETUP_BUILDX_VERSION: "latest"
SETUP_BUILDKIT_IMAGE: "moby/buildkit:latest"

jobs:
Expand Down Expand Up @@ -63,7 +63,7 @@ jobs:
-
name: Set outputs
id: set
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
script: |
const yaml = require('js-yaml');
Expand All @@ -89,18 +89,15 @@ jobs:
});
-
name: Build
uses: docker/bake-action@3acf805d94d93a86cce4ca44798a76464a75b88c # v6.9.0
uses: docker/bake-action@v4
with:
provenance: false
targets: integration-tests-base
# TODO(jhorsts): replace with upstream
# set: |
# *.cache-from=type=gha,scope=${{ inputs.cache_scope }}
# *.cache-to=type=gha,scope=${{ inputs.cache_scope }}
set: |
*.cache-from=type=gha,scope=${{ inputs.cache_scope }}
*.cache-to=type=gha,scope=${{ inputs.cache_scope }}

run:
runs-on: ubuntu-22.04
continue-on-error: true
needs:
- prepare
env:
Expand All @@ -118,19 +115,28 @@ jobs:
- containerd-snapshotter-stargz
- oci
- oci-rootless
- oci-rootless-slirp4netns-detachnetns
- oci-snapshotter-stargz
pkg: ${{ fromJson(needs.prepare.outputs.pkgs) }}
kind: ${{ fromJson(needs.prepare.outputs.kinds) }}
tags: ${{ fromJson(needs.prepare.outputs.tags) }}
include: ${{ fromJson(needs.prepare.outputs.includes) }}
steps:
-
name: Environment variables
name: Prepare
run: |
for l in "${{ inputs.env }}"; do
echo "${l?}" >> $GITHUB_ENV
done
echo "TEST_REPORT_NAME=${{ github.job }}-$(echo "${{ matrix.pkg }}-${{ matrix.skip-integration-tests }}-${{ matrix.kind }}-${{ matrix.worker }}-${{ matrix.tags }}" | tr -dc '[:alnum:]-\n\r' | tr '[:upper:]' '[:lower:]')" >> $GITHUB_ENV
testFlags="${{ env.TESTFLAGS }}"
if [ -n "${{ matrix.tags }}" ]; then
testFlags="${testFlags} --tags=${{ matrix.tags }}"
fi
if [ -n "${{ matrix.worker }}" ]; then
testFlags="${testFlags} --run=//worker=${{ matrix.worker }}$"
fi
echo "TESTFLAGS=${testFlags}" >> $GITHUB_ENV
-
name: Checkout
uses: actions/checkout@v4
Expand All @@ -149,9 +155,8 @@ jobs:
buildkitd-flags: --debug
-
name: Build test image
uses: docker/bake-action@3acf805d94d93a86cce4ca44798a76464a75b88c # v6.9.0
uses: docker/bake-action@v4
with:
provenance: false
targets: integration-tests
set: |
*.cache-from=type=gha,scope=${{ inputs.cache_scope }}
Expand All @@ -160,34 +165,26 @@ jobs:
BUILDKITD_TAGS: ${{ matrix.tags }}
-
name: Test
continue-on-error: ${{ matrix.tags == 'nydus' }}
run: |
export TEST_REPORT_SUFFIX=-${{ github.job }}-$(echo "${{ matrix.pkg }}-${{ matrix.skip-integration-tests }}-${{ matrix.kind }}-${{ matrix.worker }}-${{ matrix.tags }}" | tr -dc '[:alnum:]-\n\r' | tr '[:upper:]' '[:lower:]')
if [ -n "${{ matrix.tags }}" ]; then
TESTFLAGS="${TESTFLAGS} --tags=${{ matrix.tags }}"
fi
if [ -n "${{ matrix.worker }}" ]; then
export TESTFLAGS="${TESTFLAGS} --run=//worker=${{ matrix.worker }}$"
fi
echo TESTFLAGS=$TESTFLAGS
./hack/test ${{ matrix.kind }}
env:
TEST_REPORT_SUFFIX: -${{ env.TEST_REPORT_NAME }}
TEST_COVERAGE: 1
TESTPKGS: ${{ matrix.pkg }}
SKIP_INTEGRATION_TESTS: 1
# TODO(jhorsts): errors with HTTP 400
# CACHE_FROM: type=gha,scope=${{ inputs.cache_scope }}
SKIP_INTEGRATION_TESTS: ${{ matrix.skip-integration-tests }}
CACHE_FROM: type=gha,scope=${{ inputs.cache_scope }}
-
name: Send to Codecov
if: always()
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
directory: ./bin/testreports
flags: ${{ matrix.codecov_flags }}
token: ${{ secrets.CODECOV_TOKEN }} # used to upload coverage reports: https://github.com/moby/buildkit/pull/4660#issue-2142122533
-
name: Generate annotations
if: always()
uses: crazy-max/.github/.github/actions/gotest-annotations@5af0882e0496d2f7e98a53ae4048e3d86682496f
uses: crazy-max/.github/.github/actions/gotest-annotations@fa6141aedf23596fb8bdcceab9cce8dadaa31bd9
with:
directory: ./bin/testreports
-
Expand All @@ -197,7 +194,6 @@ jobs:
with:
name: test-reports-${{ env.TEST_REPORT_NAME }}
path: ./bin/testreports
overwrite: true
-
name: Dump context
if: failure()
Expand Down
70 changes: 37 additions & 33 deletions .github/workflows/buildkit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,37 +22,13 @@

env:
GO_VERSION: "1.21"
SETUP_BUILDX_VERSION: "v0.14.1" # TODO(jhorsts): replace with upstream
SETUP_BUILDX_VERSION: "latest"
SETUP_BUILDKIT_IMAGE: "moby/buildkit:latest"
IMAGE_NAME: "moby/buildkit"
PLATFORMS: "linux/amd64,linux/arm/v7,linux/arm64,linux/s390x,linux/ppc64le,linux/riscv64"
DESTDIR: "./bin"

jobs:
test:
uses: ./.github/workflows/.test.yml
with:
cache_scope: build-integration-tests
pkgs: ./client ./cmd/buildctl ./worker/containerd ./solver ./frontend
kinds: integration
codecov_flags: core
includes: |
- pkg: ./...
skip-integration-tests: 1
typ: integration gateway
- pkg: ./client
worker: containerd
tags: nydus
typ: integration
- pkg: ./client
worker: oci
tags: nydus
typ: integration
- pkg: ./...
tags: nydus
skip-integration-tests: 1
typ: integration

prepare:
runs-on: ubuntu-22.04
outputs:
Expand Down Expand Up @@ -81,6 +57,9 @@
PUSH=push
fi
fi
if [ "$GITHUB_REPOSITORY" != "moby/buildkit" ]; then
PUSH=false
fi
echo "tag=${TAG}" >>${GITHUB_OUTPUT}
echo "push=${PUSH}" >>${GITHUB_OUTPUT}
platforms=$(docker buildx bake release --print | jq -cr '.target."release".platforms')
Expand Down Expand Up @@ -125,9 +104,8 @@
env:
RELEASE: ${{ startsWith(github.ref, 'refs/tags/v') }}
PLATFORMS: ${{ matrix.platform }}
# TODO(jhorsts): replace with upstream
# CACHE_FROM: type=gha,scope=binaries-${{ env.PLATFORM_PAIR }}
# CACHE_TO: type=gha,scope=binaries-${{ env.PLATFORM_PAIR }}
CACHE_FROM: type=gha,scope=binaries-${{ env.PLATFORM_PAIR }}
CACHE_TO: type=gha,scope=binaries-${{ env.PLATFORM_PAIR }}
-
name: Upload artifacts
uses: actions/upload-artifact@v4
Expand All @@ -136,7 +114,34 @@
path: ${{ env.DESTDIR }}/*
if-no-files-found: error

test:
uses: ./.github/workflows/.test.yml
secrets: inherit
needs:
- binaries
with:
cache_scope: build-integration-tests
pkgs: ./client ./cmd/buildctl ./worker/containerd ./solver ./frontend
kinds: integration
codecov_flags: core
includes: |
- pkg: ./...
skip-integration-tests: 1
typ: integration gateway
- pkg: ./client
worker: containerd
tags: nydus
typ: integration
- pkg: ./client
worker: oci
tags: nydus
typ: integration
- pkg: ./...
tags: nydus
skip-integration-tests: 1
typ: integration

image:

Check warning

Code scanning / CodeQL

Workflow does not contain permissions Medium

Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {}
runs-on: ubuntu-22.04
needs:
- prepare
Expand Down Expand Up @@ -169,7 +174,7 @@
if: needs.prepare.outputs.push == 'push'
uses: docker/login-action@v3
with:
username: ${{ vars.DOCKERHUB_USERNAME }}
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Build ${{ needs.prepare.outputs.tag }}
Expand All @@ -178,9 +183,8 @@
env:
RELEASE: ${{ startsWith(github.ref, 'refs/tags/v') }}
TARGET: ${{ matrix.target-stage }}
# TODO(jhorsts): replace with upstream
# CACHE_FROM: type=gha,scope=image${{ matrix.target-stage }}
# CACHE_TO: type=gha,scope=image${{ matrix.target-stage }}
CACHE_FROM: type=gha,scope=image${{ matrix.target-stage }}
CACHE_TO: type=gha,scope=image${{ matrix.target-stage }}

release:
runs-on: ubuntu-22.04
Expand All @@ -192,7 +196,7 @@
steps:
-
name: Download artifacts
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
uses: actions/download-artifact@v4
with:
path: ${{ env.DESTDIR }}
pattern: buildkit-*
Expand Down
13 changes: 6 additions & 7 deletions .github/workflows/dockerd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ on:
version:
description: 'Docker version'
required: true
default: '23.0.1'
default: '25.0.2'

env:
SETUP_BUILDX_VERSION: "v0.14.1" # TODO(jhorsts): replace with upstream
SETUP_BUILDX_VERSION: "latest"
SETUP_BUILDKIT_IMAGE: "moby/buildkit:latest"
TESTFLAGS: "-v --parallel=1 --timeout=30m"

Expand All @@ -20,10 +20,10 @@ jobs:
steps:
-
name: Prepare
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
script: |
const version = `${{ inputs.version }}` || '23.0.1';
const version = `${{ inputs.version }}` || '25.0.2';
let build = 'true';
try {
new URL(version);
Expand Down Expand Up @@ -109,7 +109,7 @@ jobs:
buildkitd-flags: --debug
-
name: Download dockerd
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
uses: actions/download-artifact@v4
with:
name: dockerd
path: ./build/
Expand All @@ -127,8 +127,7 @@ jobs:
TESTPKGS: "${{ matrix.pkg }}"
TESTFLAGS: "${{ env.TESTFLAGS }} --run=//worker=${{ matrix.worker }}$"
SKIP_INTEGRATION_TESTS: "${{ matrix.skip-integration-tests }}"
# TODO(jhorsts): replace with upstream
# CACHE_FROM: "type=gha,scope=build-integration-tests"
CACHE_FROM: "type=gha,scope=build-integration-tests"
BUILDKIT_INTEGRATION_DOCKERD_FLAGS: |
--bip=10.66.66.1/24
--default-address-pool=base=10.66.66.0/16,size=24
10 changes: 4 additions & 6 deletions .github/workflows/docs-upstream.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
# this workflow runs the remote validate bake target from docker/docker.github.io
# to check if yaml reference docs and markdown files used in this repo are still
# valid: https://github.com/docker/docs/blob/98c7c9535063ae4cd2cd0a31478a21d16d2f07a3/docker-bake.hcl#L34-L36
# path filters reflects the files that are used as remote resource in this
# repo: https://github.com/docker/docs/blob/d5312d53e255a24e421dfe6c3344359e10271cb8/_config.yml#L202-L217
# this workflow runs the remote validate bake target from docker/docs to check
# if yaml reference docs and markdown files used in this repo are still valid
# https://github.com/docker/docker.github.io/blob/98c7c9535063ae4cd2cd0a31478a21d16d2f07a3/docker-bake.hcl#L34-L36
name: docs-upstream

concurrency:
Expand Down Expand Up @@ -30,6 +28,6 @@

jobs:
validate:
uses: docker/docs/.github/workflows/validate-upstream.yml@main
uses: docker/docs/.github/workflows/validate-upstream.yml@919a9b9104a34a40b30d116529bcce589a544d1c # pin for artifact v4 support: https://github.com/docker/docs/pull/19220
with:
module-name: moby/buildkit

Check warning

Code scanning / CodeQL

Workflow does not contain permissions Medium

Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {}
4 changes: 4 additions & 0 deletions .github/workflows/frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ env:
jobs:
test:
uses: ./.github/workflows/.test.yml
secrets: inherit
with:
cache_scope: frontend-integration-tests
pkgs: ./frontend/dockerfile
Expand Down Expand Up @@ -63,6 +64,9 @@ jobs:
PUSH=push
fi
fi
if [ "$GITHUB_REPOSITORY" != "moby/buildkit" ]; then
PUSH=false
fi
echo "typ=${TYP}" >>${GITHUB_OUTPUT}
echo "push=${PUSH}" >>${GITHUB_OUTPUT}
echo "tag=${TAG}" >>${GITHUB_OUTPUT}
Expand Down
Loading
Loading