commit
b61ffbfb52
1 changed files with 3 additions and 0 deletions
|
@ -125,6 +125,9 @@ func removeDockerfile(c modifiableContext, filesToRemove ...string) error {
|
|||
return err
|
||||
}
|
||||
excludes, err := dockerignore.ReadAll(f)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
f.Close()
|
||||
filesToRemove = append([]string{".dockerignore"}, filesToRemove...)
|
||||
for _, fileToRemove := range filesToRemove {
|
||||
|
|
Loading…
Reference in a new issue