Add ENV-Variable, reset authorized_keys, run.sh as entrypoint
(cherry picked from commit 993b9f0cc674974c5f008a4c3fd0d2bbcd397c7e)
This commit is contained in:
parent
184a435060
commit
d471015ecb
2 changed files with 8 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue