tee
Read from stdin and write to stdout and files (or commands). More information: <https://www.gnu.org/software/coreutils/tee>.
RUN apt-get update && \
apt-get install -y coreutils
RUN apt-get update && \
apt-get install -y coreutils
RUN apk add coreutils
RUN pacman -S --noconfirm coreutils
RUN apt-get update && \
apt-get install -y coreutils
RUN yum install -y coreutils
RUN dnf install -y coreutils
RUN apt-get update && \
apt-get install -y coreutils