Update comment.
This commit is contained in:
parent
5e275d9824
commit
113c2397ea
|
|
@ -676,7 +676,7 @@ func GetExcludedFiles(dockerfilepath string, buildcontext string) error {
|
||||||
|
|
||||||
// ExcludeFile returns true if the .dockerignore specified this file should be ignored
|
// ExcludeFile returns true if the .dockerignore specified this file should be ignored
|
||||||
func ExcludeFile(path, buildcontext string) bool {
|
func ExcludeFile(path, buildcontext string) bool {
|
||||||
// Do not apply dockerfile excludes for first stage
|
// Apply dockerfile excludes for first stage only
|
||||||
if !IsFirstStage {
|
if !IsFirstStage {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue