Add Dockerfile and assets

This commit is contained in:
Andrea Fazzi 2023-02-15 12:59:53 +01:00
parent a33815eec3
commit 98b94410cf
3 changed files with 13 additions and 0 deletions

13
Dockerfile Normal file
View file

@ -0,0 +1,13 @@
FROM ubuntu
COPY assets assets
RUN apt update && apt install openssh-server sudo -y
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
EXPOSE 22
# Start the OpenSSH server
CMD ["/usr/sbin/sshd", "-D"]

0
assets/service1/bar Normal file
View file

0
assets/service1/foo Normal file
View file