FROM debian:11 AS debian-user RUN \ apt update && \ apt install sudo && \ useradd -m tester && \ echo tester:tester | chpasswd && \ usermod -aG sudo tester USER tester WORKDIR /home/tester COPY ./tforgione-2.sh /home/tester/tforgione.sh RUN echo "cat tforgione.sh | bash" > /home/tester/.bash_history CMD ["bash"]