You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I searched existing issues before opening this one
Expected behavior
When using microdnf to install software in a Dockerfile and omitting the '-y' parameter Hadolint warns about specifying it to bypass any user questions.
However for microdnf (as opposed to dnf) the default is to not ask, so this parameter is not needed for microdnf.
Hadolint should not throw a warning about this command in a Dockerfile
Actual behavior
Hadolint warns about the missing '-y' parameter.
Steps to reproduce the behavior
Run hadolint on a Dockerfile with a microdnf command (example given below).
Output of hadolint --version or docker run --rm hadolint/hadolint hadolint --version or docker run --rm ghcr.io/hadolint/hadolint hadolint --version:
Can't directly run the exact version due to this being run as part of a github action with reviewdog, version pulled in is specified here:
Expected behavior
When using microdnf to install software in a Dockerfile and omitting the '-y' parameter Hadolint warns about specifying it to bypass any user questions.
However for microdnf (as opposed to dnf) the default is to not ask, so this parameter is not needed for microdnf.
Hadolint should not throw a warning about this command in a Dockerfile
Actual behavior
Hadolint warns about the missing '-y' parameter.
Steps to reproduce the behavior
Run hadolint on a Dockerfile with a microdnf command (example given below).
Output of
hadolint --version
ordocker run --rm hadolint/hadolint hadolint --version
ordocker run --rm ghcr.io/hadolint/hadolint hadolint --version
:Can't directly run the exact version due to this being run as part of a github action with reviewdog, version pulled in is specified here:
https://github.com/reviewdog/action-hadolint/blob/v1.36.0/action.yml#L48
RUN microdnf update --setopt=install_weak_deps=0 && \ microdnf install tar gzip zip kubectl && \ microdnf clean all
Additional environment details (OS, stack version, etc.)
This is running as a github action with the following version of the action:
The text was updated successfully, but these errors were encountered: