Normally, Hadolint triggers DL3009 (Delete the apt-get lists after installing something) when /var/lib/apt/lists is not cleaned up after apt-get update. However, when using apt update instead of apt-get update, DL3009 does not appear. Instead, DL3027 (Do not use apt as it is meant to be an end-user tool, use apt-get or apt-cache instead) is shown.
I'm unsure if this is intentional or if DL3009 does not check for apt. Since these two rules address different concerns and should be independent, should DL3009 still be triggered in this case?
Looking forward to your thoughts. Thanks!