branch: elpa/dockerfile-mode
commit 40d83ba7c6e171c8d1c580a234d6041d5b2b70b2
Author: Steve Purcell <st...@sanityinc.com>
Commit: Steve Purcell <st...@sanityinc.com>

    Include image name in build output buffer name
    
    This allows several images to be built simultaneously.
---
 dockerfile-mode.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dockerfile-mode.el b/dockerfile-mode.el
index e1fa5e7bca..ef0b7a3733 100644
--- a/dockerfile-mode.el
+++ b/dockerfile-mode.el
@@ -132,7 +132,7 @@ If prefix arg NO-CACHE is set, don't cache the image."
         (dockerfile-build-arg-string)
         (shell-quote-argument (dockerfile-standard-filename 
(buffer-file-name)))
         (shell-quote-argument (dockerfile-standard-filename 
(file-name-directory (buffer-file-name)))))
-       "*docker-build-output*")
+       (format "*docker-build-output: %s *" image-name))
     (print "dockerfile-image-name must be a string, consider surrounding it 
with double quotes")))
 
 ;;;###autoload

Reply via email to