Merge pull request #17602 from vyasgun/pr/context

docs: context is not optional for build
This commit is contained in:
OpenShift Merge Robot
2023-02-23 13:48:36 +01:00
committed by GitHub

View File

@ -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