allow copying files with increased cache efficiency and rebase images without
requiring them to be rebuilt. `--link` copies files to a separate layer and
then uses new LLB MergeOp implementation to chain independent layers together
- [Heredocs](/reference/dockerfile.md#here-documents) support have
been promoted from labs channel to stable. This feature allows writing
multiline inline scripts and files
- Additional [named build contexts](/reference/cli/docker/buildx/build.md#build-context)
can be passed to build to add or overwrite a stage or an image inside the
build. A source for the context can be a local source, image, Git, or HTTP URL
- [`BUILDKIT_SANDBOX_HOSTNAME` build-arg](/reference/dockerfile.md#buildkit-built-in-build-args)
can be used to set the default hostname for the `RUN` steps
### Bug fixes and enhancements
- When using a cross-compilation stage, the target platform for a step is now
seen on progress output
- Fix some cases where Heredocs incorrectly removed quotes from content
## 1.3.1
{{< release-date date="2021-10-04" >}}
### Bug fixes and enhancements
- Fix parsing "required" mount key without a value
## 1.3.0 (labs)
{{< release-date date="2021-07-16" >}}
{{% include "dockerfile-labs-channel.md" %}}
### New
- `RUN` and `COPY` commands now support [Here-document syntax](/reference/dockerfile.md#here-documents)
allowing writing multiline inline scripts and files
## 1.3.0
{{< release-date date="2021-07-16" >}}
### New
- `RUN` command allows [`--network` flag](/reference/dockerfile.md#run---network)
for requesting a specific type of network conditions. `--network=host`
requires allowing `network.host` entitlement. This feature was previously
only available on labs channel
### Bug fixes and enhancements
- `ADD` command with a remote URL input now correctly handles the `--chmod` flag
- Values for [`RUN --mount` flag](/reference/dockerfile.md#run---mount)
now support variable expansion, except for the `from` field
- Allow [`BUILDKIT_MULTI_PLATFORM` build arg](/reference/dockerfile.md#buildkit-built-in-build-args)
to force always creating multi-platform image, even if only contains single
platform
## 1.2.1 (labs)
{{< release-date date="2020-12-12" >}}
{{% include "dockerfile-labs-channel.md" %}}
### Bug fixes and enhancements
- `RUN` command allows [`--network` flag](/reference/dockerfile.md#run---network)
for requesting a specific type of network conditions. `--network=host`
requires allowing `network.host` entitlement
## 1.2.1
{{< release-date date="2020-12-12" >}}