properly format copying of files message during dockerfile creation (#222)

This commit is contained in:
Seif Lotfy سيف لطفي
2016-11-04 22:55:26 +01:00
committed by C Cirello
parent ae40a730f9
commit 8665e11a55

View File

@@ -342,7 +342,7 @@ func createDockerfile(opts createImageOptions, files ...fileLike) error {
if err != nil { if err != nil {
return err return err
} }
fmt.Print(fmt.Sprintf("Copying file: %s", filepath.Join(opts.Name, fstat.Name()))) fmt.Print(fmt.Sprintf("Copying file: %s ... ", filepath.Join(opts.Name, fstat.Name())))
src, err := os.Create(filepath.Join(opts.Name, fstat.Name())) src, err := os.Create(filepath.Join(opts.Name, fstat.Name()))
if err != nil { if err != nil {
return err return err