From 40fa1d2fbd1e5feb9e0f8228288c9fb5e031932d Mon Sep 17 00:00:00 2001 From: Matthias Lucas Jaros Date: Sun, 19 Oct 2025 11:25:21 +0200 Subject: It works, permission check missing --- Dockerfile | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile index 7d33c8b..98316ae 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,16 @@ FROM alpine -RUN apk add --no-cache openssh-server fish git +RUN apk add --no-cache openssh-server fish git sudo # Modified ssh conf with disabled root login and no password authentication COPY ssh.conf /etc/ssh/sshd_config.d/ +COPY sudo-git /etc/sudoers.d/ +# required for permission check COPY run /usr/local/bin/ RUN chmod +x /usr/local/bin/run -ENTRYPOINT ["/usr/local/bin/run"] + +# required for starting +COPY init /usr/local/bin/ +RUN chmod +x /usr/local/bin/init +ENTRYPOINT ["/usr/local/bin/init"] + -- cgit v1.3.1