Ignore specific Dockerfile directives
mainIf the formatter produces unwanted output for a specific command, you can skip formatting for that directive by placing a # dockerfmt-ignore comment on the line immediately preceding it. The ignore rule applies only to the single next directive.
# dockerfmt-ignore
RUN echo "this stays exactly as-is"
RUN echo "this gets formatted normally"