mirror of
https://github.com/containers/podman.git
synced 2025-05-21 17:16:22 +08:00
Merge pull request #17602 from vyasgun/pr/context
docs: context is not optional for build
This commit is contained in:
@ -18,8 +18,8 @@ either 'Containerfile' or 'Dockerfile'.
|
|||||||
The build context directory can be specified as the http(s) URL of an archive,
|
The build context directory can be specified as the http(s) URL of an archive,
|
||||||
git repository or Containerfile.
|
git repository or Containerfile.
|
||||||
|
|
||||||
If no context directory is specified, then Podman will assume the current
|
When invoked with `-f` and a path to a Containerfile, with no explicit CONTEXT
|
||||||
working directory as the build context, which should contain the Containerfile.
|
directory, Podman will use the Containerfile's parent directory as its build context.
|
||||||
|
|
||||||
Containerfiles ending with a ".in" suffix will be preprocessed via CPP(1). This
|
Containerfiles ending with a ".in" suffix will be preprocessed via CPP(1). This
|
||||||
can be useful to decompose Containerfiles into several reusable parts that can
|
can be useful to decompose Containerfiles into several reusable parts that can
|
||||||
|
Reference in New Issue
Block a user