diff options
| author | 2025-10-18 22:17:20 +0200 | |
|---|---|---|
| committer | 2025-10-18 22:17:20 +0200 | |
| commit | 17939d44d6aa45a0dd50c98031c12798baf7cd85 (patch) | |
| tree | 361360208189c6e8b6a477e9be08dd6e982db35d /Dockerfile | |
| parent | aa41ae926beba85ad2cb06e10b5f4f270309b9c4 (diff) | |
ssh daemon starting up and user and repos are getting initialized. Missing login because users are locked
Diffstat (limited to 'Dockerfile')
| -rw-r--r-- | Dockerfile | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -1,6 +1,9 @@ FROM alpine -RUN apk add --no-cache openssh-server fish +RUN apk add --no-cache openssh-server fish git + +# Modified ssh conf with disabled root login and no password authentication COPY ssh.conf /etc/ssh/sshd_config.d/ -COPY ./etc/ssh/ /etc/ssh/ -#ENTRYPOINT ["/usr/sbin/sshd", "-D", "-e"] -ENTRYPOINT ["fish"] + +COPY init /usr/local/bin/ +RUN chmod +x /usr/local/bin/init +ENTRYPOINT ["/usr/local/bin/init"] |
