mirror of https://github.com/docker/docs.git
Merge pull request #21523 from dvdksn/buildx019-buildkit018
buildx v0.19.0..v0.19.1, buildkit v0.18.0
This commit is contained in:
commit
380ca6cc9d
|
|
@ -192,11 +192,6 @@ following lines are all treated identically:
|
|||
# dIrEcTiVe=value
|
||||
```
|
||||
|
||||
The following parser directives are supported:
|
||||
|
||||
- `syntax`
|
||||
- `escape`
|
||||
|
||||
### syntax
|
||||
|
||||
<a name="external-implementation-features"><!-- included for deep-links to old section --></a>
|
||||
|
|
@ -2221,7 +2216,8 @@ Keep the following things in mind about volumes in the Dockerfile.
|
|||
- a drive other than `C:`
|
||||
|
||||
- **Changing the volume from within the Dockerfile**: If any build steps change the
|
||||
data within the volume after it has been declared, those changes will be discarded.
|
||||
data within the volume after it has been declared, those changes will be discarded
|
||||
when using the legacy builder. When using Buildkit, the changes will instead be kept.
|
||||
|
||||
- **JSON formatting**: The list is parsed as a JSON array.
|
||||
You must enclose words with double quotes (`"`) rather than single quotes (`'`).
|
||||
|
|
|
|||
|
|
@ -13,6 +13,21 @@ issues, and bug fixes in [Dockerfile reference](/reference/dockerfile.md).
|
|||
|
||||
For usage, see the [Dockerfile frontend syntax](frontend.md) page.
|
||||
|
||||
## 1.12.0
|
||||
|
||||
{{< release-date date="2024-11-27" >}}
|
||||
|
||||
The full release note for this release is available
|
||||
[on GitHub](https://github.com/moby/buildkit/releases/tag/dockerfile%2F1.12.0).
|
||||
|
||||
```dockerfile
|
||||
# syntax=docker/dockerfile:1.12.0
|
||||
```
|
||||
|
||||
- Fix incorrect description in History line of image configuration with multiple `ARG` instructions. [moby/buildkit#5508]
|
||||
|
||||
[moby/buildkit#5508]: https://github.com/moby/buildkit/pull/5508
|
||||
|
||||
## 1.11.1
|
||||
|
||||
{{< release-date date="2024-11-08" >}}
|
||||
|
|
|
|||
|
|
@ -10,8 +10,70 @@ toc_max: 2
|
|||
This page contains information about the new features, improvements, and bug
|
||||
fixes in [Docker Buildx](https://github.com/docker/buildx).
|
||||
|
||||
## 0.19.1
|
||||
|
||||
{{< release-date date="2024-11-27" >}}
|
||||
|
||||
The full release note for this release is available
|
||||
[on GitHub](https://github.com/docker/buildx/releases/tag/v0.19.1).
|
||||
|
||||
### Bug fixes
|
||||
|
||||
- Reverted the change in v0.19.0 that added new object notation for the fields
|
||||
that previously required CSV strings in Bake definition. This enhancement was
|
||||
reverted because of backwards incompatibility issues were discovered in some
|
||||
edge cases. This feature has now been postponed to the v0.20.0 release.
|
||||
[docker/buildx#2824](https://github.com/docker/buildx/pull/2824)
|
||||
|
||||
## 0.19.0
|
||||
|
||||
{{< release-date date="2024-11-27" >}}
|
||||
|
||||
The full release note for this release is available
|
||||
[on GitHub](https://github.com/docker/buildx/releases/tag/v0.19.0).
|
||||
|
||||
### New
|
||||
|
||||
- Bake now requires you to allow filesystem entitlements when your build needs
|
||||
to read or write files outside of your current working directory.
|
||||
[docker/buildx#2796](https://github.com/docker/buildx/pull/2796),
|
||||
[docker/buildx#2812](https://github.com/docker/buildx/pull/2812).
|
||||
|
||||
To allow filesystem entitlements, use the `--allow fs.read=<path>` flag for
|
||||
the `docker buildx bake` command.
|
||||
|
||||
This feature currently only reports a warning when using a local Bake
|
||||
definition, but will start to produce an error starting from the v0.20
|
||||
release. To enable the error in the current release, you can set
|
||||
`BUILDX_BAKE_ENTITLEMENTS_FS=1`.
|
||||
|
||||
### Enhancements
|
||||
|
||||
- Bake definition now supports new object notation for the fields that previously required CSV strings as inputs. [docker/buildx#2758](https://github.com/docker/buildx/pull/2758)
|
||||
|
||||
> [!NOTE]
|
||||
> This enhancement was reverted in [v0.19.1](#0191) due to a bug.
|
||||
|
||||
- Bake definition now allows defining validation conditions to variables. [docker/buildx#2794](https://github.com/docker/buildx/pull/2794)
|
||||
- Metadata file values can now contain JSON array values. [docker/buildx#2777](https://github.com/docker/buildx/pull/2777)
|
||||
- Improved error messages when using an incorrect format for labels. [docker/buildx#2778](https://github.com/docker/buildx/pull/2778)
|
||||
- FreeBSD and OpenBSD artifacts are now included in the release. [docker/buildx#2774](https://github.com/docker/buildx/pull/2774), [docker/buildx#2775](https://github.com/docker/buildx/pull/2775), [docker/buildx#2781](https://github.com/docker/buildx/pull/2781)
|
||||
|
||||
### Bug fixes
|
||||
|
||||
- Fixed an issue with printing Bake definitions containing empty Compose networks. [docker/buildx#2790](https://github.com/docker/buildx/pull/2790).
|
||||
|
||||
### Packaging
|
||||
|
||||
- Compose support has been updated to v2.4.4. [docker/buildx#2806](https://github.com/docker/buildx/pull/2806) [docker/buildx#2780](https://github.com/docker/buildx/pull/2780).
|
||||
|
||||
## 0.18.0
|
||||
|
||||
{{< release-date date="2024-10-31" >}}
|
||||
|
||||
The full release note for this release is available
|
||||
[on GitHub](https://github.com/docker/buildx/releases/tag/v0.18.0).
|
||||
|
||||
### New
|
||||
|
||||
- The `docker buildx inspect` command now displays BuildKit daemon configuration options set with a TOML file. [docker/buildx#2684](https://github.com/docker/buildx/pull/2684)
|
||||
|
|
|
|||
2
go.mod
2
go.mod
|
|
@ -16,6 +16,6 @@ replace (
|
|||
github.com/docker/cli => github.com/docker/cli v27.3.2-0.20241107125754-eb986ae71b0c+incompatible
|
||||
github.com/docker/compose/v2 => github.com/docker/compose/v2 v2.30.3
|
||||
github.com/docker/scout-cli => github.com/docker/scout-cli v1.15.0
|
||||
github.com/moby/buildkit => github.com/moby/buildkit v0.17.1-0.20241031124041-354f2d13c905
|
||||
github.com/moby/buildkit => github.com/moby/buildkit v0.18.0
|
||||
github.com/moby/moby => github.com/moby/moby v27.3.1+incompatible
|
||||
)
|
||||
|
|
|
|||
2
go.sum
2
go.sum
|
|
@ -316,6 +316,8 @@ github.com/moby/buildkit v0.17.0 h1:ZA/4AxwBbve1f3ZaNNJQiCBtTV62R6YweWNwq4A+sTc=
|
|||
github.com/moby/buildkit v0.17.0/go.mod h1:ru8NFyDHD8HbuKaLXJIjK9nr3x6FZR+IWjtF07S+wdM=
|
||||
github.com/moby/buildkit v0.17.1-0.20241031124041-354f2d13c905 h1:KMEmQThIQYXKvBurcvM+6zZjxP2CoNSsF/wUpW+RC/E=
|
||||
github.com/moby/buildkit v0.17.1-0.20241031124041-354f2d13c905/go.mod h1:ru8NFyDHD8HbuKaLXJIjK9nr3x6FZR+IWjtF07S+wdM=
|
||||
github.com/moby/buildkit v0.18.0 h1:KSelhNINJcNA3FCWBbGCytvicjP+kjU5kZlZhkTUkVo=
|
||||
github.com/moby/buildkit v0.18.0/go.mod h1:vCR5CX8NGsPTthTg681+9kdmfvkvqJBXEv71GZe5msU=
|
||||
github.com/moby/locker v1.0.1/go.mod h1:S7SDdo5zpBK84bzzVlKr2V0hz+7x9hWbYC/kq7oQppc=
|
||||
github.com/moby/moby v24.0.2+incompatible h1:yH+5dRHH1x3XRKzl1THA2aGTy6CHYnkt5N924ADMax8=
|
||||
github.com/moby/moby v24.0.2+incompatible/go.mod h1:fDXVQ6+S340veQPv35CzDahGBmHsiclFwfEygB/TWMc=
|
||||
|
|
|
|||
Loading…
Reference in New Issue