From 7a657dcd3def8ab478e22b51c32bc379d840fb26 Mon Sep 17 00:00:00 2001 From: Koichi Shiraishi Date: Thu, 3 Dec 2015 16:58:56 +0900 Subject: Fix vars from sonictemplate_vars to sonictemplate_vim_vars Signed-off-by: Koichi Shiraishi --- doc/sonictemplate-vim.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/sonictemplate-vim.txt b/doc/sonictemplate-vim.txt index e09cf08..429ffa7 100644 --- a/doc/sonictemplate-vim.txt +++ b/doc/sonictemplate-vim.txt @@ -141,7 +141,7 @@ When template contains |{{_input_:var}}|, sonictemplate-vim ask you to input value. But in most of cases, it's always same value, maybe. For example, if you want to set 'author' in LICENSE-mit template as your name, set like below: > - let g:sonictemplate_vars = { + let g:sonictemplate_vim_vars = { \ '_': { \ 'author': 'Yasuhiro Matsumoto', \ }, -- cgit v1.2.3-54-g00ecf From 45b8c23560039047bff76caf53595625bf7833d3 Mon Sep 17 00:00:00 2001 From: Koichi Shiraishi Date: Thu, 3 Dec 2015 17:01:09 +0900 Subject: Add initial main dockerfile template Signed-off-by: Koichi Shiraishi --- template/dockerfile/base-main.dockerfile | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 template/dockerfile/base-main.dockerfile diff --git a/template/dockerfile/base-main.dockerfile b/template/dockerfile/base-main.dockerfile new file mode 100644 index 0000000..de043d3 --- /dev/null +++ b/template/dockerfile/base-main.dockerfile @@ -0,0 +1,4 @@ +FROM {{_input_:FROM_image}} +MAINTAINER {{_input_:author}} <{{_input_:email}}> + +RUN {{_cursor_}} -- cgit v1.2.3-54-g00ecf