Add ENV-Variable, reset authorized_keys, run.sh as entrypoint

(cherry picked from commit 993b9f0cc674974c5f008a4c3fd0d2bbcd397c7e)
This commit is contained in:
nold 2017-11-01 17:51:51 +01:00
parent 184a435060
commit d471015ecb
2 changed files with 8 additions and 2 deletions

View file

@ -22,7 +22,7 @@ RUN rm -f /etc/ssh/ssh_host*key* ; \
COPY ./data/run.sh /run.sh
COPY ./data/sshd_config /etc/ssh/sshd_config
CMD /bin/bash /run.sh
ENTRYPOINT /run.sh
# Default SSH-Port for clients
EXPOSE 22