Usage:
dfc [flags]
Examples:
dfc <path_to_dockerfile>
Flags:
-h, --help help for dfc
-i, --in-place modified the Dockerfile in place (vs. stdout), saving original in a .bak file
-j, --json print dockerfile as json (before conversion)
--log-level string log level (e.g. debug, info, warn, error) (default "INFO")
-m, --mappings string path to a custom package mappings YAML file (instead of the default)
--no-builtin skip built-in package/image mappings, still apply default conversion logic
--org string the organization for cgr.dev/<org>/<image> (defaults to ORG) (default "ORG")
--registry string an alternate registry and root namepace (e.g. r.example.com/cg-mirror)
--strict when true, fail if any package is unknown
--update check for and apply available updates
-v, --version version for dfc
--warn-missing-packages when true, warn about missing package mappings
Options (12)
| Option | Description | Source |
|---|
-h, --help | help for dfc | help |
-i, --in-place | modified the Dockerfile in place (vs. | help |
-j, --json | print dockerfile as json (before conversion) | help |
--log-level string | log level (e.g. debug, info, warn, error) (default "INFO") | help |
-m, --mappings string | path to a custom package mappings YAML file (instead of the default) | help |
--no-builtin | skip built-in package/image mappings, still apply default conversion logic | help |
--org string | the organization for cgr.dev/<org>/<image> (defaults to ORG) (default "ORG") | help |
--registry string | an alternate registry and root namepace (e.g. r.example.com/cg-mirror) | help |
--strict | when true, fail if any package is unknown | help |
--update | check for and apply available updates | help |
-v, --version | version for dfc | help |
--warn-missing-packages | when true, warn about missing package mappings | help |
Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.