Skip to content

Commit

Permalink
Update the list of keywords for dockerfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
queicherius committed Aug 29, 2017
1 parent 5400af9 commit f0d73e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/prism-docker.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Prism.languages.docker = {
'keyword': {
pattern: /(^\s*)(?:ONBUILD|FROM|MAINTAINER|RUN|EXPOSE|ENV|ADD|COPY|VOLUME|USER|WORKDIR|CMD|LABEL|ENTRYPOINT)(?=\s)/mi,
pattern: /(^\s*)(?:ADD|ARG|CMD|COPY|ENTRYPOINT|ENV|EXPOSE|FROM|HEALTHCHECK|LABEL|MAINTAINER|ONBUILD|RUN|SHELL|STOPSIGNAL|USER|VOLUME|WORKDIR)(?=\s)/mi,
lookbehind: true
},
'string': /("|')(?:(?!\1)[^\\\r\n]|\\(?:\r\n|[\s\S]))*?\1/,
Expand Down

0 comments on commit f0d73e0

Please sign in to comment.