Documentation ¶
Overview ¶
Package step defines Dockerfile steps
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddStep ¶
type AddStep struct {
// contains filtered or unexported fields
}
AddStep implements Dockerfile COPY step.
type ArgStep ¶
type ArgStep struct {
// contains filtered or unexported fields
}
ArgStep implements Dockerfile ARG step.
type CopyStep ¶
type CopyStep struct {
// contains filtered or unexported fields
}
CopyStep implements Dockerfile COPY step.
type EntrypointStep ¶
type EntrypointStep struct {
// contains filtered or unexported fields
}
EntrypointStep implements Dockerfile ENTRYPOINT step.
func Entrypoint ¶
func Entrypoint(command string, args ...string) *EntrypointStep
Entrypoint creates new EntrypointStep.
type EnvStep ¶
type EnvStep struct {
// contains filtered or unexported fields
}
EnvStep implements Dockerfile ENV step.
type LabelStep ¶
type LabelStep struct {
// contains filtered or unexported fields
}
LabelStep implements Dockerfile LABEL step.
type RunStep ¶
type RunStep struct {
// contains filtered or unexported fields
}
RunStep implements Dockerfile RUN step.
func (*RunStep) MountCache ¶
MountCache mounts cache at specified target path.
func (*RunStep) SecurityInsecure ¶
SecurityInsecure enables --security=insecure.
type StageDependencies ¶
type StageDependencies interface {
Depends() []string
}
StageDependencies is implemented by steps which introduce dependencies to other stages.
type WorkDirStep ¶
type WorkDirStep struct {
// contains filtered or unexported fields
}
WorkDirStep implements Dockerfile WORKDIR step.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.