diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..1327c19 --- /dev/null +++ b/Dockerfile @@ -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"] diff --git a/assets/service1/bar b/assets/service1/bar new file mode 100644 index 0000000..e69de29 diff --git a/assets/service1/foo b/assets/service1/foo new file mode 100644 index 0000000..e69de29