Help us shape the future of Go! Take the 2026 Go Developer Survey

dockerfile

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2014 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dockerfile

type Dockerfile struct {
	bytes.Buffer
}

func New

func New(from string) *Dockerfile

func (*Dockerfile) WriteAdd

func (d *Dockerfile) WriteAdd(from, to string)

func (*Dockerfile) WriteEntrypoint

func (d *Dockerfile) WriteEntrypoint(entrypoint string)

func (*Dockerfile) WriteEnv

func (d *Dockerfile) WriteEnv(key, val string)

func (*Dockerfile) WriteFrom

func (d *Dockerfile) WriteFrom(from string)

func (*Dockerfile) WriteRun

func (d *Dockerfile) WriteRun(cmd string)

func (*Dockerfile) WriteUser

func (d *Dockerfile) WriteUser(user string)

func (*Dockerfile) WriteWorkdir

func (d *Dockerfile) WriteWorkdir(workdir string)

Jump to

Keyboard shortcuts

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