mirror of
https://github.com/docker/buildx.git
synced 2024-11-22 15:37:16 +08:00
docs: fix metadata section for build command
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
This commit is contained in:
parent
f4da6b8f69
commit
199890ff51
@ -591,6 +591,12 @@ $ cat metadata.json
|
|||||||
> - `max` sets full provenance.
|
> - `max` sets full provenance.
|
||||||
> - `disabled`, `false` or `0` doesn't set any provenance.
|
> - `disabled`, `false` or `0` doesn't set any provenance.
|
||||||
|
|
||||||
|
> **Note**
|
||||||
|
>
|
||||||
|
> Build warnings (`buildx.build.warnings`) are not included by default. Set the
|
||||||
|
> `BUILDX_METADATA_WARNINGS` environment variable to `1` or `true` to
|
||||||
|
> include them.
|
||||||
|
|
||||||
### <a name="network"></a> Set the networking mode for the RUN instructions during build (--network)
|
### <a name="network"></a> Set the networking mode for the RUN instructions during build (--network)
|
||||||
|
|
||||||
Available options for the networking mode are:
|
Available options for the networking mode are:
|
||||||
@ -601,12 +607,6 @@ Available options for the networking mode are:
|
|||||||
|
|
||||||
Find more details in the [Dockerfile reference](https://docs.docker.com/reference/dockerfile/#run---network).
|
Find more details in the [Dockerfile reference](https://docs.docker.com/reference/dockerfile/#run---network).
|
||||||
|
|
||||||
> **Note**
|
|
||||||
>
|
|
||||||
> Build warnings (`buildx.build.warnings`) are not included by default. Set the
|
|
||||||
> `BUILDX_METADATA_WARNINGS` environment variable to `1` or `true` to
|
|
||||||
> include them.
|
|
||||||
|
|
||||||
### <a name="no-cache-filter"></a> Ignore build cache for specific stages (--no-cache-filter)
|
### <a name="no-cache-filter"></a> Ignore build cache for specific stages (--no-cache-filter)
|
||||||
|
|
||||||
The `--no-cache-filter` lets you specify one or more stages of a multi-stage
|
The `--no-cache-filter` lets you specify one or more stages of a multi-stage
|
||||||
|
Loading…
Reference in New Issue
Block a user