update-alternatives
A convenient tool for maintaining symbolic links to determine default commands. More information: <https://manned.org/update-alternatives>.
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 yum install -y chkconfig
RUN dnf install -y chkconfig
RUN apt-get update && \
apt-get install -y dpkg