From b0dca966bbd3e6c0074dc5a5b12735c95a8605a3 Mon Sep 17 00:00:00 2001 From: David Karlsson <35727626+dvdksn@users.noreply.github.com> Date: Wed, 13 Mar 2024 09:13:32 +0100 Subject: [PATCH] docs: remove mention that buildkit warns about unconsumned build args 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> --- frontend/dockerfile/docs/reference.md | 8 -------- 1 file changed, 8 deletions(-) diff --git a/frontend/dockerfile/docs/reference.md b/frontend/dockerfile/docs/reference.md index b7ec6d0408fe..396445367184 100644 --- a/frontend/dockerfile/docs/reference.md +++ b/frontend/dockerfile/docs/reference.md @@ -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: