fakeroot
Run a command in an environment faking root privileges for file manipulation. More information: <https://manpages.debian.org/latest/fakeroot/fakeroot.1.html>.
RUN apt-get update && \
apt-get install -y fakeroot
RUN apt-get update && \
apt-get install -y fakeroot
RUN apk add fakeroot
RUN pacman -S --noconfirm fakeroot
RUN apt-get update && \
apt-get install -y fakeroot
RUN yum install -y fakeroot
RUN dnf install -y fakeroot
RUN apt-get update && \
apt-get install -y fakeroot