[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/dockerfile-mode 52c6c00da1 2/2: Update docstring
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/dockerfile-mode 52c6c00da1 2/2: Update docstring |
Date: |
Mon, 22 Aug 2022 16:58:25 -0400 (EDT) |
branch: elpa/dockerfile-mode
commit 52c6c00da1d31c0b6c29c74335b3af63ed6bf06c
Author: Lassi Kortela <lassi@lassi.io>
Commit: Drew Csillag <drew@thecsillags.com>
Update docstring
---
dockerfile-mode.el | 26 +++++++++++++-------------
1 file changed, 13 insertions(+), 13 deletions(-)
diff --git a/dockerfile-mode.el b/dockerfile-mode.el
index e37c1cb2f3..0f8f61a6c9 100644
--- a/dockerfile-mode.el
+++ b/dockerfile-mode.el
@@ -204,19 +204,19 @@ This can be set in file or directory-local variables.")
(defun dockerfile-build-buffer (image-name &optional no-cache)
"Build an image called IMAGE-NAME based upon the buffer.
-If prefix arg NO-CACHE is set, don't cache the image.
-
-The build string will be of the format:
-
- sudo docker build
- --no-cache
- --force-rm
- --pull
- --tag IMAGE-NAME
- --build-args arg1..
- --progress PROGRESS_TYPE
- -f filename
- directory`"
+If the prefix arg NO-CACHE is set, don't cache the image.
+
+The shell command used to build the image is:
+
+ sudo docker build \\
+ --no-cache \\
+ --force-rm \\
+ --pull \\
+ --tag IMAGE-NAME \\
+ --build-args args \\
+ --progress type \\
+ -f filename \\
+ directory"
(interactive (list (dockerfile-read-image-name) prefix-arg))
(save-buffer)