mirror of https://github.com/containers/podman.git
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 <arajan@redhat.com>
This commit is contained in:
parent
56b9476304
commit
2e397120db
|
@ -255,7 +255,7 @@ option.
|
||||||
Specifies a Containerfile which contains instructions for building the image,
|
Specifies a Containerfile which contains instructions for building the image,
|
||||||
either a local file or an **http** or **https** URL. If more than one
|
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
|
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
|
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
|
local file, the directory in which it resides will be used as the build
|
||||||
|
|
Loading…
Reference in New Issue