Skip to content

Commit ba25296

Browse files
committed
better warning message
1 parent 9aa23a4 commit ba25296

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pkg/cli/compose.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ func createTarball(ctx context.Context, root, dockerfile string) (*bytes.Buffer,
474474

475475
fileCount++
476476
if fileCount == ContextFileLimit+1 {
477-
term.Warnf(" ! The build context contains more than %d files; press Ctrl+C if this is unexpected.", ContextFileLimit)
477+
term.Warnf(" ! The build context contains more than %d files; use --debug or create .dockerignore", ContextFileLimit)
478478
}
479479

480480
_, err = io.Copy(tarWriter, file)

0 commit comments

Comments
 (0)