Welcome to the v0.15.0 release of buildkit!
Please try out the release binaries and report any issues at
https://github.com/moby/buildkit/issues.
Contributors
- Tõnis Tiigi
- Akihiro Suda
- Sebastiaan van Stijn
- Talon Bowler
- CrazyMax
- David Karlsson
- Aleksa Sarai
- Anthony Nandaa
- Erik Sipsma
- Jonathan A. Sternberg
- Justin Chadwell
- Alano Terblanche
- Brian Goff
- Jesper Noordsij
- Moritz "WanzenBug" Wanzenböck
- Nobi
- Paweł Gronowski
- Shaun Thompson
- fanjiyun.fjy
- retornam
Notable Changes
- Builtin Dockerfile frontend has been updated to v1.9.0 changelog
- History API now puts typed error information on a separate blob to reduce the size of the main record #5093 #5142
- History API supports new Finalize call for completing collection of tracing instead of waiting for time based expiration #5109
- Typed errors with source information now contain all description fields from failing vertex #5108
- Windows now supports exporting results that contain certain privileged files #4994
- Improve performance on calculating file-based checksums on certain cases #5060
- TOML config now allows configuring cgroup parent for containerd worker #5033
- Fix issue where files checked out from Git could have incorrect permission bits because of non-standard umask (regression from v0.13+) #5096
- Fix pulling Git commits by SHA if they point to unreferenced tags #5072
- Fix possible issue where result record could leak in cache database and not get released #5116
- Fix possible nil dereference on cancelling build on a specific time #5111
- Fix possible resource leak on cancelling build on a specific time #5031
- Fix possible issue where cancelling build on a specific time could have still kept the container step running #5106
- Fix theoretical telemetry record leak in case of database error #5136
Dockerfile:
- Add new validation rules:
SecretsUsedInArgOrEnv
,InvalidDefaultArgInFrom
,RedundantTargetPlatform
,CopyIgnoredFile
(experimental) andFromPlatformFlagConstDisallowed
#5135 #5140 #5105 #5113 #5091 #5094 #5090 #5046 - Many performance improvements for working with big Dockerfiles #5067 #5029
- Fix possible panic when building Dockerfile without defined stages #5150
- Fix incorrect JSON parsing that could cause some incorrect JSON values to pass without producing an error #5107
- Fix issue where
COPY --link
to.
destination path could fail (regression from v1.8+) #5080 - Fix validation of
ADD --checksum
when used with a Git URL #5085
Dependency Changes
- github.com/Microsoft/hcsshim v0.11.5 -> v0.11.7
- github.com/containerd/containerd v1.7.18 -> v1.7.19
- github.com/containerd/containerd/api v1.7.19 new
- github.com/containerd/go-cni v1.1.9 -> v1.1.10
- github.com/containerd/platforms v0.2.1 new
- github.com/containerd/ttrpc v1.2.4 -> v1.2.5
- github.com/containernetworking/cni v1.1.2 -> v1.2.2
- github.com/cpuguy83/go-md2man/v2 v2.0.2 -> v2.0.4
- github.com/docker/cli v26.1.4 -> v27.0.3
- github.com/docker/docker v26.1.4 -> v27.0.3
- github.com/docker/docker-credential-helpers v0.8.0 -> v0.8.2
- github.com/go-logr/logr v1.3.0 -> v1.4.1
- github.com/gofrs/flock v0.8.1 -> v0.12.0
- github.com/google/pprof e72429f035bd -> a892ee059fd6
- github.com/google/uuid v1.5.0 -> v1.6.0
- github.com/hashicorp/go-immutable-radix/v2 v2.1.0 new
- github.com/hashicorp/go-retryablehttp v0.7.5 -> v0.7.7
- github.com/hashicorp/golang-lru/v2 v2.0.7 new
- github.com/klauspost/compress v1.17.4 -> v1.17.9
- github.com/opencontainers/runtime-spec v1.1.0 -> v1.2.0
- github.com/prometheus/procfs v0.12.0 -> v0.15.1
- github.com/stretchr/testify v1.8.4 -> v1.9.0
- github.com/tonistiigi/go-actions-cache 9794bdbb2fb4 -> 58651d5e11d6
- github.com/tonistiigi/go-csvvalue ddb21b71c0b4 new
- github.com/urfave/cli v1.22.14 -> v1.22.15
- kernel.org/pub/linux/libs/security/libcap/cap v1.2.67 -> v1.2.70
- kernel.org/pub/linux/libs/security/libcap/psx v1.2.67 -> v1.2.70
Previous release can be found at v0.14.1