github.com/containers/podman/v5@v5.1.0-rc1/docs/source/markdown/options/env.image.md (about) 1 ####> This option file is used in: 2 ####> podman build, farm build 3 ####> If file is edited, make sure the changes 4 ####> are applicable to all of those. 5 #### **--env**=*env[=value]* 6 7 Add a value (e.g. env=*value*) to the built image. Can be used multiple times. 8 If neither `=` nor a *value* are specified, but *env* is set in the current 9 environment, the value from the current environment is added to the image. 10 To remove an environment variable from the built image, use the `--unsetenv` 11 option.