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
Preferably there would be no DL3041 warnings when a package is dnf install 'd that is not hyphen-separated from its pinned version, especially when such packages are unavailable.
Example: python-3.11 does not cause a DL3041 warning, but in not available; python3.11 is available, but causes warnings.
Actual behavior
DL3041 warning: Specify version with `dnf install -y <package>-<version>`.
Steps to reproduce the behavior
Output of hadolint --version or docker run --rm hadolint/hadolint hadolint --version or docker run --rm ghcr.io/hadolint/hadolint hadolint --version:
$ cat /etc/os-release | grep PRETTY_NAME
PRETTY_NAME="Red Hat Enterprise Linux 9.2 (Plow)"
$ microdnf repolist
repo id repo name
ubi-9-appstream-rpms Red Hat Universal Base Image 9 (RPMs) - AppStream
ubi-9-baseos-rpms Red Hat Universal Base Image 9 (RPMs) - BaseOS
ubi-9-codeready-builder Red Hat Universal Base Image 9 (RPMs) - CodeReady Builder
The text was updated successfully, but these errors were encountered:
Expected behavior
Preferably there would be no DL3041 warnings when a package is
dnf install
'd that is not hyphen-separated from its pinned version, especially when such packages are unavailable.Example:
python-3.11
does not cause a DL3041 warning, but in not available;python3.11
is available, but causes warnings.Actual behavior
DL3041 warning: Specify version with `dnf install -y <package>-<version>`.
Steps to reproduce the behavior
Output of
hadolint --version
ordocker run --rm hadolint/hadolint hadolint --version
ordocker run --rm ghcr.io/hadolint/hadolint hadolint --version
:Dockerfile
Additional environment details (OS, stack version, etc.)
Base image is originally based on IronBank RedHat UBI 9.2 minimal
The text was updated successfully, but these errors were encountered: