Documentation ¶
Index ¶
- type Dockerfile
- func (d *Dockerfile) WriteAdd(from, to string)
- func (d *Dockerfile) WriteEntrypoint(entrypoint string)
- func (d *Dockerfile) WriteEnv(key, val string)
- func (d *Dockerfile) WriteFrom(from string)
- func (d *Dockerfile) WriteRun(cmd string)
- func (d *Dockerfile) WriteUser(user string)
- func (d *Dockerfile) WriteWorkdir(workdir string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dockerfile ¶
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)
Click to show internal directories.
Click to hide internal directories.