Documentation
¶
Index ¶
Constants ¶
View Source
const ( // UserEnv is the environment variable name used to injected user id. UserEnv = "CROWLEY_PACK_USER" // GroupEnv is the environment variable name used to injected user's group id. GroupEnv = "CROWLEY_PACK_GROUP" // DirectoryEnv is the environment variable name used to define the working // directory output inside the container. DirectoryEnv = "CROWLEY_PACK_DIRECTORY" // OutputEnv is the environment variable name used to define the output // file's path inside the container. OutputEnv = "CROWLEY_PACK_OUTPUT" )
Variables ¶
This section is empty.
Functions ¶
func GetEnv ¶
func GetEnv(configuration *configuration.Configuration) []string
GetEnv return the required environment variables for the container.
func GetVolumes ¶
func GetVolumes(configuration *configuration.Configuration) ([]string, error)
GetVolumes return the required volumes path for the container.
func Install ¶
func Install(client docker.Docker, stream docker.LogStream, configuration *configuration.Configuration) error
Install run compile instructions with a Docker container.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.