fix(dockerfile): bash injection on run instructions

This commit is contained in:
Christian Segundo 2023-09-17 13:35:17 +02:00 committed by Christian Clason
parent 58c8682290
commit dac6efbaff
2 changed files with 8 additions and 1 deletions

View file

@ -2,4 +2,5 @@
(#set! injection.language "comment"))
((shell_command) @injection.content
(#set! injection.language "bash"))
(#set! injection.language "bash")
(#set! injection.include-children))

View file

@ -0,0 +1,6 @@
FROM foo
RUN bar
# ^ bash
RUN \
baz
# ^ bash