Skip to content

Commit

Permalink
Revert FROM and MAINTAINER change
Browse files Browse the repository at this point in the history
  • Loading branch information
princemaple authored Sep 18, 2016
1 parent 9f6b430 commit 8589c91
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Dockerfile.sublime-syntax
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,13 @@ file_extensions:
scope: source.dockerfile

variables:
noonbuild_directive: (FROM|MAINTAINER)
build_directive: (?:(ONBUILD)\s+)?(ADD|ARG|COPY|ENV|EXPOSE|HEALTHCHECK|LABEL|RUN|SHELL|STOPSIGNAL|USER|VOLUME|WORKDIR)
build_directive: (?:(ONBUILD)\s+)?(ADD|ARG|COPY|ENV|EXPOSE|HEALTHCHECK|LABEL|MAINTAINER|RUN|SHELL|STOPSIGNAL|USER|VOLUME|WORKDIR)
runtime_directive: (?:(ONBUILD)\s+)?(CMD|ENTRYPOINT)

contexts:
main:
- include: comments
- match: '^\s*{{noonbuild_directive}}\s'
- match: ^FROM\s
captures:
0: keyword.control.dockerfile
push: body
Expand Down

0 comments on commit 8589c91

Please sign in to comment.