install

package
v0.1.3-1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 7, 2016 License: GPL-3.0 Imports: 8 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL