acp/Dockerfile

17 lines
398 B
Text
Raw Normal View History

2023-02-15 12:59:53 +01:00
FROM ubuntu
RUN apt update && apt install tree nano openssh-server iproute2 iputils-ping sudo -y
2023-02-15 12:59:53 +01:00
RUN useradd -rm -d /home/ubuntu -s /bin/bash -g root -G sudo -u 1000 test
RUN echo 'test:test' | chpasswd
RUN service ssh start
RUN mkdir -p /home/ubuntu/playground
COPY assets/ /home/ubuntu/playground/
2023-03-31 11:10:14 +02:00
RUN useradd abcdyuinaF6e
2023-02-15 12:59:53 +01:00
EXPOSE 22
# Start the OpenSSH server
CMD ["/usr/sbin/sshd", "-D"]