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 the ADD instruction in a Dockerfile file from URLs or uncompress an archive.
- Represents the ADD instruction in a Dockerfile specific for Git repo. See https://docs.docker.com/reference/dockerfile/#adding-private-git-repositories
- Represents a Dockerfile builder stage
- Represents the COPY instruction in a Dockerfile. See https://docs.docker.com/reference/dockerfile/#copy
- Represents the Dockerfile main stage
Enums§
Traits§
Functions§
- Parse an Image from a string.
- Parse an Image from a YAML or JSON file path.
- Parse an Image from a reader.
- Generates the Dockerfile content from an Image.
- Generates the .dockerignore file content from an Image.