Documentation
¶
Overview ¶
Package dockerfile supports interaction with Docker images and containers.
Index ¶
- func Attach(profile string, noCache bool, command []string) error
- func Build(profile string, noCache bool) error
- func BuildFromConfig(profile string, noCache bool, cfg *config) error
- func Dockerfile(profile string, w io.Writer) error
- func DockerfileFromConfig(profile string, cfg *config, w io.Writer) error
- func Exec(profile string, args []string) error
- func RunCommand(profile string, args []string) ([]string, error)
- func RunCommandFromConfig(cfg *config, args []string) []string
- func RunFromConfig(profile string, noCache bool, cfg *config, args []string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Build ¶
Build creates a Docker image per the specified Geode profile directory. If noCache is true, Build passes the --no-cache flag to the underlying 'docker build' command.
func BuildFromConfig ¶
func Dockerfile ¶
WriteFile reads a Dockerfile template and docker.toml from the specified profile directory, and expands the template with the values from the TOML file to the specified writer.
func DockerfileFromConfig ¶
func RunCommand ¶
Returns arguments suitable for exec.Command.
func RunCommandFromConfig ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.