Skip to content

Releases: moby/buildkit

v0.12.2

25 Aug 21:40
567a994
Compare
Choose a tag to compare

Welcome to the 0.12.2 release of buildkit!

Please try out the release binaries and report any issues at
https://github.com/moby/buildkit/issues.

Notable changes

  • Fix possible discarded network error when exporting result to client #4117
  • Avoid unnecessary memory allocations when writing build progress #4116

v0.12.1

02 Aug 16:11
bb857a0
Compare
Choose a tag to compare

Welcome to the 0.12.1 release of buildkit!

Please try out the release binaries and report any issues at
https://github.com/moby/buildkit/issues.

Notable changes

  • Fix possible goroutine leak in resource monitor for failed containers #4081
  • Fix possible tracing socket path length error on some configurations #3483

v0.12.0

12 Jul 23:57
18fc875
Compare
Choose a tag to compare

buildkit 0.12.0

Welcome to the 0.12.0 release of buildkit!
This is a pre-release of buildkit

Please try out the release binaries and report any issues at
https://github.com/moby/buildkit/issues.

Contributors

  • Tõnis Tiigi
  • Justin Chadwell
  • CrazyMax
  • Sebastiaan van Stijn
  • Akihiro Suda
  • Erik Sipsma
  • Gabriel Adrian Samfira
  • Kohei Tokunaga
  • Alex Couture-Beil
  • Cory Bennett
  • Brian Goff
  • Nick Santos
  • Wei Zhang
  • Alex Suraci
  • Alexis Murzeau
  • Changwei Ge
  • David Karlsson
  • Paweł Gronowski
  • Aaron Lehmann
  • Jordan Goasdoue
  • Seiya Miyata
  • Ben Longo
  • Jacob Gillespie
  • Alan Fregtman
  • Andy Alt
  • Bertrand Paquet
  • Chaerim Yeo
  • Chris Goller
  • Cory Snider
  • Dan Duvall
  • Gabriel
  • Gahl Saraf
  • George
  • Hugo Santos
  • Ilya Dmitrichenko
  • Kang, Matthew
  • Matias Insaurralde
  • Matt Kang
  • Nick Miyake
  • Pranav Pandit
  • Sertac Ozercan
  • Vladislav Ivanov
  • Yan Song
  • Yurii Rashkovskii
  • @ggjulio
  • @chengjoey
  • @lomot

Notable Changes

  • Default Dockerfile frontend has been updated to 1.6.0
  • Remote cache export/import to the registry now supports OCI image manifest compatible format when setting image-manifest=true #3724
  • Local and Tar exporters now support platform-split=false option to merge all artifacts for multiple platforms to the same directory. #3161
  • Provenance attestation can now capture resource usage information for the system and individual build steps. This information can be written to exported attestation by setting capture-usage=true attestation option and is set automatically for History API records. This feature depends on CgroupV2, and some fields require kernel configured with CONFIG_PSI enabled. #3860 #3999
  • SOURCE_DATE_EPOCH value for reproducible builds is now set as the creation timestamp when exporting image to containerd image store #3263
  • buildctl has new --wait flag to block RPCs until the connection becomes available #3586
  • WCOW support for certain actions has improved #3783 #3782 #3907 #3906 #3545 #3544 #3516 #3908
  • Stargz support is out of experimental #3637
  • Creating layer blobs now uses deterministic timestamps for whiteout files when Overlay snapshotter is supported for more reproducible builds #3981
  • Source policy support now also applies to image config metadata requests. These requests can return a new source reference defined by the policy that the frontend can use in follow-up LLB requests. #3956 #4014
  • Sourcemaps in provenance attestations and errors now allow setting the source language name #3620
  • File operations are now always platform-independent for better direct cache reuse #3858
  • When exporting an image to Containerd image store, unpack logic now works for multi-platform images by unpacking only the native platform by default #3982 #3983
  • Cgroup namespace isolation is enabled for containers on supported systems #4003
  • New DockerUI package is provided by frontend authors who want to target docker buildx flags without the need to copy code from Dockerfile frontend #3606
  • Downloading image layers in the exporter can now work in parallel for different platforms #3984
  • Zstd compressed layers are now supported also with Docker-style mediatypes #3968
  • Secret environment variables can now be set using the interactive container API #3957
  • TOML buildkitd config now supports multiple units for storage limits #3773
  • gRPC API now enables reflection #3790
  • HTTP sources now have better caching for servers that handle Accept-Encoding differently for different HTTP methods #3745 #3788
  • New buildctl commands debug histories and prune-histories #3498
  • Loading SBOM generator image can now be configured with resolve mode parameter #3446
  • Gateway frontend source image can now be set with defining named context #3633
  • Performance improvements to scanning local files for context upload #3977
  • Interactive container API now supports setting container Hostname #3680
  • History API now uses a separate Containerd namespace for its objects, fixing some issues when the same blobs are used by image store #3833
  • Make files created by Git source more deterministic #3598
  • Git source now handles URLs that define subdir and empty reference #3596
  • Remote cache export now supports registry.insecure option like the Image exporter #3501
  • Azure Blob storage cache export supports setting the account name as parameter #3476
  • New client APIs for configuring TLS authentication to use system certificates #3760
  • Fixes for copying Unicode filenames with local context #3946 #4009
  • Fix the issue where some builds could fail with "missing provenance" error #3945
  • Fix lazy loaded layers reuse for cache when running parallel builds #3109
  • Fix issue with missing GC label for layers when exporting image to containerd image store #3161
  • Fix possible progressbar panic on resizing terminal window #3967
  • Fix possible "inconsistent graph state" error when running parallel cached, and no-cache builds #3953
  • Fix possible zero build step index numbers on progressbar #3942 #3838
  • Fix possible "container does not exist" error #3940
  • Fix possible "concurrent map read and write" error #3938
  • Fix possible issue where the status stream could be missing for History record #3937
  • Fix possible data races #4004 #3994 #4010
  • Fix OCI layout URIs in provenance attestation #3918
  • Fix regression bug in v0.11.x OpenTelemetry trace delegation from the client #3909
  • Fix possible deadlock on network error #3857
  • Fix filtering out deleted History API records #3827 #3733
  • Fix possible build cache reference leak #3851 #3815
  • Fix possible FD leak in SSH forwarding #3848
  • Fix possible concurrent map access in Client library #3813
  • Fixes for Runc container SIGKILL/exit-code handling #3754 #3765 #3658 #3722
  • Fix creating oci-layout file when exporting uncompressed OCI layout #3729

Dependency Changes

  • github.com/AdaLogics/go-fuzz-headers 43070de90fa1 new
  • github.com/AdamKorcz/go-118-fuzz-build 5330a85ea652 new
  • github.com/Masterminds/semver/v3 v3.1.0 new
  • github.com/Microsoft/go-winio v0.5.2 -> v0.6.1
  • github.com/Microsoft/hcsshim v0.9.6 -> v0.10.0-rc.8
  • github.com/anchore/go-struct-converter c68fdcfa2092 new
  • github.com/aws/aws-sdk-go-v2 v1.16.3 -> v1.17.6
  • github.com/aws/aws-sdk-go-v2/service/ssooidc v1.14.5 new
  • github.com/aws/smithy-go v1.11.2 -> v1.13.5
  • github.com/containerd/cgroups v1.0.4 -> v1.1.0
  • github.com/containerd/containerd v1.6.14 -> v1.7.2
  • github.com/containerd/continuity v0.3.0 -> v0.4.1
  • github.com/containerd/fifo v1.0.0 -> v1.1.0
  • github.com/containerd/go-cni v1.1.6 -> v1.1.9
  • github.com/containerd/go-runc v1.0.0 -> v1.1.0
  • github.com/containerd/nydus-snapshotter v0.3.1 -> v0.8.2
  • github.com/containerd/stargz-snapshotter v0.13.0 -> v0.14.3
  • github.com/containerd/ttrpc v1.1.0 -> v1.2.2
  • github.com/containerd/typeurl/v2 v2.1.1 new
  • github.com/containernetworking/cni v1.1.1 -> v1.1.2
  • github.com/cyphar/filepath-securejoin v0.2.3 new
  • github.com/docker/cli v23.0.0-rc.1 -> v24.0.2
  • github.com/docker/distribution v2.8.1 -> v2.8.2
  • github.com/docker/docker v23.0.0-rc.1 -> 98d3da79ef9c
  • github.com/felixge/httpsnoop v1.0.2 -> v1.0.3
  • github.com/golang/protobuf v1.5.2 -> v1.5.3
  • github.com/grpc-ecosystem/grpc-gateway/v2 v2.11.3 new
  • github.com/hanwen/go-fuse/v2 f57e95bda82d -> v2.2.0
  • github.com/hashicorp/go-cleanhttp v0.5.1 -> v0.5.2
  • github.com/hashicorp/go-retryablehttp v0.7.1 -> v0.7.2
  • github.com/klauspost/compress v1.15.12 -> v1.16.3
  • github.com/opencontainers/image-spec 02efb9a75ee1 -> v1.1.0-rc3
  • github.com/opencontainers/runc v1.1.3 -> v1.1.7
  • github.com/opencontainers/runtime-spec 1c3f411f0417 -> v1.1.0-rc.2
  • github.com/opencontainers/selinux v1.10.2 -> v1.11.0
  • github.com/pelletier/go-toml v1.9.4 -> v1.9.5
  • github.com/prometheus/common v0.37.0 -> v0.42.0
  • github.com/prometheus/procfs v0.8.0...
Read more

dockerfile/1.6.0-labs

13 Jul 00:03
18fc875
Compare
Choose a tag to compare

Usage

# syntax=docker.io/docker/dockerfile-upstream:1.6.0-labs

dockerfile/1.6.0

13 Jul 00:03
18fc875
Compare
Choose a tag to compare

Usage

# syntax=docker.io/docker/dockerfile-upstream:1.6.0

Notable changes

  • Graduate ADD <Git-URL> and ADD --checksum from labs channel to stable #3979 docs docs
  • Add start interval support to HEALTHCHECK #3998
  • Variable substitution now supports additional POSIX compatible variants without : #3611
  • Exported Windows images now set default OSVersion/OSFeatures values from base image #3619
  • Fix inconsistent permission bits for Heredocs to 0644 #3992

v0.12.0-rc2

11 Jul 00:01
31a9120
Compare
Choose a tag to compare
v0.12.0-rc2 Pre-release
Pre-release

buildkit 0.12.0-rc2

Welcome to the 0.12.0-rc2 release of buildkit!
This is a pre-release of buildkit

Please try out the release binaries and report any issues at
https://github.com/moby/buildkit/issues.

Contributors

  • Tõnis Tiigi
  • Gabriel Adrian Samfira
  • Justin Chadwell
  • Alex Couture-Beil
  • Akihiro Suda
  • Brian Goff
  • CrazyMax
  • Erik Sipsma
  • Kohei Tokunaga

Notable changes

  • Default Dockerfile frontend has been updated to 1.6.0-rc2
  • Creating layer blobs now uses deterministic timestamps fro whiteout files when Overlay snapshotter is supported for more reproducible builds #3981
  • Source policy support now also applies to image config metadata requests. These requests can return a new source reference defined by the policy that the frontend can use in follow-up LLB requests. #3956
  • When exporting an image to Containerd image store, unpack logic now works for multi-platform images by unpacking only the native platform by default #3982 #3983
  • Cgroup namespace isolation is enabled for containers on supported systems #4003
  • Downloading image layers in the exporter can now work in parallel for different platforms #3984
  • Zstd compressed layers are now supported also with Docker-style mediatypes #3968
  • New limits to HTTP Response Header timeouts in RC1 have been reverted #4005
  • Resource monitoring support added in RC1 has been fixed for kernels configured with CONFIG_PSI_DEFAULT_DISABLED
  • Fixes for copying Unicode filenames with local context #3946
  • More fixes for Windows containers path handling #3908
  • Fix possible data races #4004 #3994

Dependency Changes

  • github.com/docker/docker v24.0.2 -> 98d3da79ef9c

Previous release can be found at v0.12.0-rc1

dockerfile/1.6.0-rc2-labs

13 Jul 00:02
31a9120
Compare
Choose a tag to compare
Pre-release
Merge pull request #3968 from sipsma/docker-zstd-apply

compression: register docker zstd stream processor

dockerfile/1.6.0-rc2

11 Jul 00:06
31a9120
Compare
Choose a tag to compare
dockerfile/1.6.0-rc2 Pre-release
Pre-release

Usage

# syntax=docker.io/docker/dockerfile-upstream:1.6.0-rc2

Notable changes

  • Graduate ADD <Git-URL> and ADD --checksum from labs channel to stable #3979 docs docs
  • Add start interval support to HEALTHCHECK #3998
  • Variable substitution now supports additional POSIX compatible variants without : #3611
  • Exported Windows images now set default OSVersion/OSFeatures values from base image #3619
  • Fix inconsistent permission bits for Heredocs to 0644 #3992

v0.12.0-rc1

30 Jun 06:37
5b9a9ce
Compare
Choose a tag to compare
v0.12.0-rc1 Pre-release
Pre-release

buildkit 0.12.0-rc1

Welcome to the 0.12.0-rc1 release of buildkit!
This is a pre-release of buildkit

Please try out the release binaries and report any issues at
https://github.com/moby/buildkit/issues.

Contributors

  • Tõnis Tiigi
  • Justin Chadwell
  • CrazyMax
  • Sebastiaan van Stijn
  • Akihiro Suda
  • Erik Sipsma
  • Kohei Tokunaga
  • Gabriel Adrian Samfira
  • Cory Bennett
  • Nick Santos
  • Wei Zhang
  • Alex Couture-Beil
  • Alex Suraci
  • Alexis Murzeau
  • Changwei Ge
  • David Karlsson
  • Paweł Gronowski
  • Aaron Lehmann
  • Brian Goff
  • Jordan Goasdoue
  • Seiya Miyata
  • Ben Longo
  • Jacob Gillespie
  • Alan Fregtman
  • Andy Alt
  • Bertrand Paquet
  • Chaerim Yeo
  • Chris Goller
  • Cory Snider
  • Dan Duvall
  • Gabriel
  • Gahl Saraf
  • George
  • Hugo Santos
  • Ilya Dmitrichenko
  • Matthew Kang
  • Matias Insaurralde
  • Matt Kang
  • Nick Miyake
  • Pranav Pandit
  • Sertac Ozercan
  • Vladislav Ivanov
  • Yan Song
  • Yurii Rashkovskii
  • @ggjulio
  • @chengjoey
  • @lomot

Notable changes

  • Remote cache export/import to the registry now supports OCI image manifest compatible format when setting image-manifest=true #3724

  • Local and Tar exporters now support platform-split=false option to merge all artifacts for multiple platforms to the same directory. #3161

  • Provenance attestation can now capture resource usage information for the system and individual build steps. This information can be written to exported attestation by setting capture-usage=true attestation option and is set automatically for History API records. This feature depends on CgroupV2, and some fields require kernel configured with CONFIG_PSI enabled. #3860

  • SOURCE_DATE_EPOCH value for reproducible builds is now set as the creation timestamp when exporting image to containerd image store #3263

  • buildctl has new --wait flag to block RPCs until the connection becomes available #3586

  • WCOW support for certain actions has imporved #3783 #3782 #3907 #3906 #3545 #3544 #3516

  • Stargz support is out of experimental #3637

  • Sourcemaps in provenance attestations and errors now allow setting the source language name #3620

  • File operations are now always platform-independent for better direct cache reuse #3858

  • New DockerUI package is provided by frontend authors who want to target docker buildx flags without the need to copy code from Dockerfile frontend #3606

  • Secret environment variables can now be set using the interactive container API #3957

  • TOML buildkitd config not supports multiple units for storage limits #3773

  • gRPC API now enables reflection #3790

  • HTTP sources now have better caching for servers that handle Accept-Encoding differently for different HTTP methods #3745 #3788

  • New buildctl commands debug histories and prune-histories #3498

  • Loading SBOM generator image can now be configured with resolve mode parameter #3446

  • Gateway frontend source image can now be set with defining named context #3633

  • Performance improvements to scanning local files for context upload #3977

  • Interactive container API now supports setting container Hostname #3680

  • History API now uses a separate Containerd namespace for its objects, fixing some issues when the same blobs are used by image store #3833

  • Improve HTTP transport configuration #3652

  • Make files created by Git source more deterministic #3598

  • Git source now handles URLs that define subdir and empty reference #3596

  • Remote cache export now supports registry.insecure option like the Image exporter #3501

  • Azure Blob storage cache export supports setting the account name as parameter #3476

  • New client APIs for configuring TLS authentication to use system certificates #3760

  • Fix the issue where some builds could fail with "missing provenance" error #3945

  • Fix lazy loaded layers reuse for cache when running parallel builds #3109

  • Fix issue with missing GC label for layers when exporting image to containerd image store #3161

  • Fix possible progressbar panic on resizing terminal window #3967

  • Fix possible "inconsistent graph state" error when running parallel cached, and no-cache builds #3953

  • Fix possible zero build step index numbers on progressbar #3942 #3838

  • Fix possible "container does not exist" error #3940

  • Fix possible "concurrent map read and write" error #3938

  • Fix possible issue where the status stream could be missing for History record #3937

  • Fix OCI layout URIs in provenance attestation #3918

  • Fix regression bug in v0.11.x OpenTelemetry trace delegation from the client #3909

  • Fix possible deadlock on network error #3857

  • Fix filtering out deleted History API records #3827 #3733

  • Fix possible build cache reference leak #3851 #3815

  • Fix possible FD leak in SSH forwarding #3848

  • Fix possible concurrent map access in Client library #3813

  • Fixes for Runc container SIGKILL/exit-code handling #3754 #3765 #3658 #3722

  • Fix creating oci-layout file when exporting uncompressed OCI layout #3729

  • Variable substitution now supports additional POSIX compatible variants without : #3611

  • Exported Windows images now set default OSVersion/OSFeatures values from base image #3619

Dependency Changes

  • github.com/AdaLogics/go-fuzz-headers 43070de90fa1 new
  • github.com/AdamKorcz/go-118-fuzz-build 5330a85ea652 new
  • github.com/Masterminds/semver/v3 v3.1.0 new
  • github.com/Microsoft/go-winio v0.5.2 -> v0.6.1
  • github.com/Microsoft/hcsshim v0.9.8 -> v0.10.0-rc.8
  • github.com/anchore/go-struct-converter c68fdcfa2092 new
  • github.com/aws/aws-sdk-go-v2 v1.16.3 -> v1.17.6
  • github.com/aws/aws-sdk-go-v2/service/ssooidc v1.14.5 new
  • github.com/aws/smithy-go v1.11.2 -> v1.13.5
  • github.com/containerd/cgroups v1.0.4 -> v1.1.0
  • github.com/containerd/containerd v1.6.20 -> v1.7.2
  • github.com/containerd/continuity v0.3.0 -> v0.4.1
  • github.com/containerd/fifo v1.0.0 -> v1.1.0
  • github.com/containerd/go-cni v1.1.6 -> v1.1.9
  • github.com/containerd/go-runc v1.0.0 -> v1.1.0
  • github.com/containerd/nydus-snapshotter v0.3.1 -> v0.8.2
  • github.com/containerd/stargz-snapshotter v0.13.0 -> v0.14.3
  • github.com/containerd/ttrpc v1.1.1 -> v1.2.2
  • github.com/containerd/typeurl/v2 v2.1.1 new
  • github.com/containernetworking/cni v1.1.1 -> v1.1.2
  • github.com/cyphar/filepath-securejoin v0.2.3 new
  • github.com/docker/cli v23.0.0-rc.1 -> v24.0.2
  • github.com/docker/distribution v2.8.1 -> v2.8.2
  • github.com/docker/docker v23.0.0-rc.1 -> v24.0.2
  • github.com/felixge/httpsnoop v1.0.2 -> v1.0.3
  • github.com/golang/protobuf v1.5.2 -> v1.5.3
  • github.com/grpc-ecosystem/grpc-gateway/v2 v2.11.3 new
  • github.com/hanwen/go-fuse/v2 f57e95bda82d -> v2.2.0
  • github.com/hashicorp/go-cleanhttp v0.5.1 -> v0.5.2
  • github.com/hashicorp/go-retryablehttp v0.7.1 -> v0.7.2
  • github.com/klauspost/compress v1.15.12 -> v1.16.3
  • github.com/opencontainers/image-spec 3a7f492d3f1b -> v1.1.0-rc3
  • github.com/opencontainers/runc v1.1.5 -> v1.1.7
  • github.com/opencontainers/runtime-spec 1c3f411f0417 -> v1.1.0-rc.2
  • github.com/opencontainers/selinux v1.10.2 -> v1.11.0
  • github.com/prometheus/common v0.37.0 -> v0.42.0
  • github.com/prometheus/procfs v0.8.0 -> v0.9.0
  • github.com/spdx/tools-golang d6f58551be3f -> v0.5.1
  • github.com/stretchr/testify v1.8.0 -> v1.8.3
  • github.com/tonistiigi/fsutil fb433841cbfa -> 36ef4d8c0dbb
  • github.com/tonistiigi/vt100 8066bb97264f -> f9a4f7ef6531
  • github.com/urfave/cli v1.22.4 -> v1.22.12
  • go.etcd.io/bbolt v1.3.6 -> v1.3.7
  • go.opencensus.io v0.23.0 -> v0.24.0
  • go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.29.0 -> v0.40.0
  • **go.opentelemetry.io/contrib/instrumentat...
Read more

dockerfile/1.6.0-rc1-labs

13 Jul 00:02
5b9a9ce
Compare
Choose a tag to compare
Pre-release
Merge pull request #3161 from crazy-max/local-exporter-wrap

export(local): split opt