Skip to content

Commit

Permalink
docs: specify order preference for FROM
Browse files Browse the repository at this point in the history
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: containers/buildah#4546

Signed-off-by: Aditya R <arajan@redhat.com>
  • Loading branch information
flouthoc authored and openshift-cherrypick-robot committed Feb 7, 2023
1 parent 56856b0 commit b9f525d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/markdown/podman-build.1.md.in
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b9f525d

Please sign in to comment.