added user creation and rsync to sshd

This commit is contained in:
2020-12-16 03:53:36 +01:00
parent e86e0ab0ef
commit d732a92b2c
2 changed files with 13 additions and 1 deletions

View File

@@ -1,5 +1,5 @@
FROM ubuntu
RUN apt-get update && apt-get install -y openssh-server
RUN apt-get update && apt-get install -y openssh-server rsync
RUN mkdir /var/run/sshd
COPY sshd_config /etc/ssh/sshd_config
COPY docker-entrypoint.sh /