Crate dofigen_lib
source ·Expand description
dofigen_lib
dofigen_lib
help creating Dockerfile with a simplified structure and made to cache the build with Buildkit.
You also can parse the structure from YAML or JSON.
Structs
Represents a Dockerfile builder stage
Represents the Dockerfile main stage
Enums
Traits
Functions
Parse an Image from a string.
Parse an Image from a YAML or JSON file path.
from_jsonDeprecated
Parse an Image from a JSON string.
from_json_readerDeprecated
Parse an Image from a reader of YAML content.
Parse an Image from a reader.
from_yamlDeprecated
Parse an Image from a YAML string.
from_yaml_readerDeprecated
Parse an Image from a reader of YAML content.
Generates the Dockerfile content from an Image.
Generates the .dockerignore file content from an Image.