Skip to content

Commit

Permalink
docs: remove mention that buildkit warns about unconsumned build args
Browse files Browse the repository at this point in the history
BuildKit doesn't warn if a provided build argument is not consumed,
unlike the classic builder.

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
  • Loading branch information
dvdksn committed Mar 13, 2024
1 parent 517e253 commit b0dca96
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions frontend/dockerfile/docs/reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -2098,14 +2098,6 @@ flag.
> learn about secure ways to use secrets when building images.
{ .warning }


If you specify a build argument that wasn't defined in the Dockerfile,
the build outputs a warning.

```console
[Warning] One or more build-args [foo] were not consumed.
```

A Dockerfile may include one or more `ARG` instructions. For example,
the following is a valid Dockerfile:

Expand Down

0 comments on commit b0dca96

Please sign in to comment.