Fixed kompose build failure

While `local` build, kompose was not recognizing `dockerfile` key
Hence it was breaking the build as mentioned in issue #832.
This PR will fix the issue.
This commit is contained in:
Suraj Narwade
2017-12-01 11:15:03 +05:30
parent 8a5692b070
commit 286fbd1203
3 changed files with 11 additions and 2 deletions
+1 -1
View File
@@ -233,7 +233,7 @@ func BuildDockerImage(service kobject.ServiceConfig, name string, relativePath s
// Use the build struct function to build the image
// Build the image!
build := docker.Build{Client: *client}
err = build.BuildImage(imagePath, imageName)
err = build.BuildImage(imagePath, imageName, service.Dockerfile)
if err != nil {
return err