lib/rouge/lexers/docker.rb in rouge-3.3.0 vs lib/rouge/lexers/docker.rb in rouge-3.4.0
- old
+ new
@@ -6,10 +6,10 @@
class Docker < RegexLexer
title "Docker"
desc "Dockerfile syntax"
tag 'docker'
aliases 'dockerfile'
- filenames 'Dockerfile', '*.docker'
+ filenames 'Dockerfile', '*.Dockerfile', '*.docker', 'Dockerfile_*'
mimetypes 'text/x-dockerfile-config'
KEYWORDS = %w(
FROM MAINTAINER CMD LABEL EXPOSE ENV ADD COPY ENTRYPOINT VOLUME USER WORKDIR ARG STOPSIGNAL HEALTHCHECK SHELL
).join('|')