A recent Docker update promoted Buildx/BuildKit to be the default builder, hence, heredocs are supported without setting DOCKER_BUILDKIT=1. It seems it wouldn't be hard to add support for it in Terrascan, since module imported by parser also supports heredocs.
Description
Dockerfiles now support the heredocs syntax. I tried executing Terrascan against a Dockerfile with this syntax, but it's confusing the docker parser.
What I Did