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