Documentation ¶
Overview ¶
Package docker implements a compiler for turning Blubber configuration into a valid single- or multi-stage Dockerfile.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Copy ¶ added in v0.2.0
type Copy struct {
// contains filtered or unexported fields
}
Copy compiles into a COPY instruction.
type CopyFrom ¶ added in v0.2.0
type CopyFrom struct {
// contains filtered or unexported fields
}
CopyFrom compiles into a COPY --from instruction.
type Env ¶ added in v0.2.0
type Env struct {
// contains filtered or unexported fields
}
Env compiles into a ENV instruction.
type Instruction ¶ added in v0.2.0
Instruction defines an interface for instruction compilation.
func NewInstruction ¶ added in v0.2.0
func NewInstruction(instruction build.Instruction) (Instruction, error)
NewInstruction takes a general internal build.Instruction and returns a corresponding compilable Docker specific instruction. The given internal instruction is partially compiled at this point by calling Compile() which applies its own logic for escaping arguments, etc.
type Label ¶ added in v0.2.0
type Label struct {
// contains filtered or unexported fields
}
Label compiles into a LABEL instruction.
type Run ¶ added in v0.2.0
type Run struct {
// contains filtered or unexported fields
}
Run compiles into a RUN instruction.