You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
306 B
Docker
9 lines
306 B
Docker
FROM debian:bullseye-slim
|
|
RUN apt update -y
|
|
RUN apt install tree less openssh-server wamerican accountsservice -y
|
|
RUN useradd -rm -d /home/debian -s /bin/bash -g root -G sudo -u 1000 test
|
|
RUN service ssh start
|
|
COPY ./enter-bash /home/debian
|
|
RUN /home/debian/deploy.sh
|
|
EXPOSE 22
|
|
CMD ["/usr/sbin/sshd", "-D"] |