Commit dccbfd6e authored by Timon Stampfli's avatar Timon Stampfli

switch user later

parent 6d20a803
Pipeline #4823 passed with stage
in 18 seconds
......@@ -9,11 +9,13 @@ RUN mkdir /var/run/sshd
RUN useradd -ms /bin/bash step
RUN mkdir /home/step/.ssh
USER step
RUN apt-get install -y htop tmux screen
RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
USER step
CMD ["/usr/sbin/sshd", "-D"]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment