From 113c2397ea367d8f09330a5ed103b4d996c6a9d8 Mon Sep 17 00:00:00 2001 From: Tejal Desai Date: Tue, 5 May 2020 22:27:28 -0700 Subject: [PATCH] Update comment. --- pkg/util/fs_util.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/util/fs_util.go b/pkg/util/fs_util.go index 714408656..2b44f97ce 100644 --- a/pkg/util/fs_util.go +++ b/pkg/util/fs_util.go @@ -676,7 +676,7 @@ func GetExcludedFiles(dockerfilepath string, buildcontext string) error { // ExcludeFile returns true if the .dockerignore specified this file should be ignored func ExcludeFile(path, buildcontext string) bool { - // Do not apply dockerfile excludes for first stage + // Apply dockerfile excludes for first stage only if !IsFirstStage { return false }