mirror of
https://github.com/containers/podman.git
synced 2025-06-02 10:46:09 +08:00

Move the options for the podman build doc to a common md that can be used by both podman build and podman farm build. Signed-off-by: Urvashi Mohnani <umohnani@redhat.com>
17 lines
679 B
Markdown
17 lines
679 B
Markdown
####> 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.
|