提交 d4cde6ae 编写于 作者: J Jonathan Carter 提交者: GitHub

Adding Docker 1.12 instructions to its grammar

This simply updates the Docker grammar to include the `HEALTHCHECK` and `SHELL` commands that were added to Docker 1.12, and were added to the [grammar file](https://github.com/docker/docker/blob/4cb71f80823af345d063cf0ad657e73ce9caa75f/contrib/syntax/textmate/Docker.tmbundle/Syntaxes/Dockerfile.tmLanguage) which VS Code's copy is based on.
上级 8bb90a30
......@@ -25,7 +25,7 @@
</dict>
</dict>
<key>match</key>
<string>^\s*(?:(ONBUILD)\s+)?(FROM|MAINTAINER|RUN|EXPOSE|ENV|ADD|VOLUME|USER|WORKDIR|COPY|LABEL|STOPSIGNAL|ARG)\s</string>
<string>^\s*(?:(ONBUILD)\s+)?(ADD|ARG|CMD|COPY|ENTRYPOINT|ENV|EXPOSE|FROM|HEALTHCHECK|LABEL|MAINTAINER|RUN|SHELL|STOPSIGNAL|USER|VOLUME|WORKDIR)\s</string>
</dict>
<dict>
<key>captures</key>
......@@ -140,4 +140,4 @@
<key>uuid</key>
<string>a39d8795-59d2-49af-aa00-fe74ee29576e</string>
</dict>
</plist>
\ No newline at end of file
</plist>
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册