From 97688060b41a6aa51ae3fd10a289e1f3b573c10e Mon Sep 17 00:00:00 2001 From: geminiyellow Date: Mon, 16 May 2016 12:46:27 +0900 Subject: [PATCH] docs(zh-cn): Syntax highlighting for Dockerfile Added some common/popular text editors and their syntax highlighting modules --- zh-cn/README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/zh-cn/README.md b/zh-cn/README.md index 9c326ef..f8dd913 100644 --- a/zh-cn/README.md +++ b/zh-cn/README.md @@ -221,7 +221,15 @@ Docker.com 把它自己的[索引](https://hub.docker.com/)托管到了它的仓 ## Dockerfile -[配置文件](https://docs.docker.com/reference/builder/)。当你执行 `docker build` 的时候会根据该配置文件设置 Docker 容器。远优于使用 `docker commit`。如果你使用 [jEdit](http://jedit.org),我为 [Dockerfile](https://github.com/wsargent/jedit-docker-mode)做了个语法高亮模块。 +[配置文件](https://docs.docker.com/reference/builder/)。当你执行 `docker build` 的时候会根据该配置文件设置 Docker 容器。远优于使用 `docker commit`。 + +下面是一些常用的编写 Dockerfile 的编辑器和语法高亮模块︰ +* 如果你使用 [jEdit](http://jedit.org),我为 [Dockerfile](https://github.com/wsargent/jedit-docker-mode) 做了个语法高亮模块。 +* [Sublime Text 2](https://packagecontrol.io/packages/Dockerfile%20Syntax%20Highlighting) +* [Atom](https://atom.io/packages/language-docker) +* [Vim](https://github.com/ekalinin/Dockerfile.vim) +* [Emacs](https://github.com/spotify/dockerfile-mode) +* 如果要找更全面的关于编辑器或者 IDE 的内容,请看 [当 Docker 遇上 IDE](https://github.com/spotify/dockerfile-mode) ### 指令