Fix typo in build.go

This commit is contained in:
Kazuki Hamasaki 2014-07-31 07:22:54 +09:00
parent 4f0585bee3
commit 49b86f8047

View file

@ -439,7 +439,7 @@ func (b *Builder) writeDockerfile(dir string) error {
switch { switch {
case strings.HasPrefix(b.Build.Image, "bradrydzewski/"), case strings.HasPrefix(b.Build.Image, "bradrydzewski/"),
strings.HasPrefix(b.Build.Image, "drone/"): strings.HasPrefix(b.Build.Image, "drone/"):
// the default user for all official Drone imnage // the default user for all official Drone images
// is the "ubuntu" user, since all build images // is the "ubuntu" user, since all build images
// inherit from the ubuntu cloud ISO // inherit from the ubuntu cloud ISO
dockerfile.WriteUser("ubuntu") dockerfile.WriteUser("ubuntu")