mirror of
https://github.com/containers/podman.git
synced 2025-10-17 03:04:21 +08:00

This reverts commit c12b1b32bc165766c1aa229ca05432c75cc74c3b. The content contains incorrect information and misses a lot of details from the previous page that must be restored. Signed-off-by: Paul Holzinger <pholzing@redhat.com>
679 B
679 B
####> This option file is used in: ####> podman build, farm build ####> If file is edited, make sure the changes ####> are applicable to all of those.
--file, -f=Containerfile
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 are only be accepted from the 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 is used as the build context.
Specifying the option -f -
causes the Containerfile contents to be read from stdin.