From 17939d44d6aa45a0dd50c98031c12798baf7cd85 Mon Sep 17 00:00:00 2001 From: Matthias Lucas Jaros Date: Sat, 18 Oct 2025 22:17:20 +0200 Subject: ssh daemon starting up and user and repos are getting initialized. Missing login because users are locked --- Dockerfile | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile index 618f09f..c576ff1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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"] -- cgit v1.3.1