Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dockerfile ¶
type Dockerfile struct {
// contains filtered or unexported fields
}
Dockerfile builders produce a Dockerfile rather than an image. Building the dockerfile w/ the right context will result in an application image being produced.
func New ¶
func New(config *api.Config, fs fs.FileSystem) (*Dockerfile, error)
New creates a Dockerfile builder.
func (*Dockerfile) Build ¶
Build produces a Dockerfile that when run with the correct filesystem context, will produce the application image.
func (*Dockerfile) CreateDockerfile ¶
func (builder *Dockerfile) CreateDockerfile(config *api.Config) error
CreateDockerfile takes the various inputs and creates the Dockerfile used by the docker cmd to create the image produced by s2i.
Click to show internal directories.
Click to hide internal directories.