dpkg-query
A tool that shows information about installed packages. More information: <https://manpages.debian.org/latest/dpkg/dpkg-query.1.html>.
RUN apt-get update && \
apt-get install -y dpkg
RUN apt-get update && \
apt-get install -y dpkg
RUN apk add dpkg
RUN apt-get update && \
apt-get install -y dpkg
RUN dnf install -y dpkg
RUN apt-get update && \
apt-get install -y dpkg