2021-12-21 10:22:15 +01:00
|
|
|
[
|
|
|
|
"FROM"
|
|
|
|
"AS"
|
|
|
|
"RUN"
|
|
|
|
"CMD"
|
|
|
|
"LABEL"
|
|
|
|
"EXPOSE"
|
|
|
|
"ENV"
|
|
|
|
"ADD"
|
|
|
|
"COPY"
|
|
|
|
"ENTRYPOINT"
|
|
|
|
"VOLUME"
|
|
|
|
"USER"
|
|
|
|
"WORKDIR"
|
|
|
|
"ARG"
|
|
|
|
"ONBUILD"
|
|
|
|
"STOPSIGNAL"
|
|
|
|
"HEALTHCHECK"
|
|
|
|
"SHELL"
|
|
|
|
"MAINTAINER"
|
|
|
|
"CROSS_BUILD"
|
|
|
|
] @keyword
|
|
|
|
|
|
|
|
[
|
|
|
|
":"
|
|
|
|
"@"
|
|
|
|
] @operator
|
|
|
|
|
|
|
|
(comment) @comment
|
|
|
|
|
|
|
|
|
|
|
|
(image_spec
|
|
|
|
(image_tag
|
|
|
|
":" @punctuation.special)
|
|
|
|
(image_digest
|
|
|
|
"@" @punctuation.special))
|
|
|
|
|
|
|
|
(double_quoted_string) @string
|
|
|
|
|
|
|
|
(expansion
|
|
|
|
[
|
|
|
|
"$"
|
|
|
|
"{"
|
|
|
|
"}"
|
|
|
|
] @punctuation.special
|
|
|
|
) @none
|
|
|
|
|
|
|
|
((variable) @constant
|
|
|
|
(#match? @constant "^[A-Z][A-Z_0-9]*$"))
|
|
|
|
|
2023-05-12 03:29:06 +02:00
|
|
|
[
|
|
|
|
(param)
|
|
|
|
(mount_param)
|
|
|
|
] @constant
|