From 2e397120db688e8b09e6ae3123c20484b1fa1782 Mon Sep 17 00:00:00 2001 From: Aditya R Date: Tue, 31 Jan 2023 09:49:47 +0530 Subject: [PATCH] docs: specify order preference for FROM When multiple files are specified buildah considers `FROM` instruction from the last file specified and so does `buildkit` and `docker` so lets specify that in docs. [NO NEW TESTS NEEDED] [NO TESTS NEEDED] Similar to: https://github.com/containers/buildah/pull/4546 Signed-off-by: Aditya R --- docs/source/markdown/podman-build.1.md.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/markdown/podman-build.1.md.in b/docs/source/markdown/podman-build.1.md.in index eb228b22dc..aece03081f 100644 --- a/docs/source/markdown/podman-build.1.md.in +++ b/docs/source/markdown/podman-build.1.md.in @@ -255,7 +255,7 @@ option. Specifies a Containerfile which contains instructions for building the image, either a local file or an **http** or **https** URL. If more than one Containerfile is specified, *FROM* instructions will only be accepted from the -first specified file. +last specified file. If a build context is not specified, and at least one Containerfile is a local file, the directory in which it resides will be used as the build