diff options
| author | 2025-10-19 11:25:21 +0200 | |
|---|---|---|
| committer | 2025-10-19 11:25:21 +0200 | |
| commit | 40fa1d2fbd1e5feb9e0f8228288c9fb5e031932d (patch) | |
| tree | f303d9f8ca98da8f37115ad780e62afe7295e277 /Dockerfile | |
| parent | 69ce1bb94cbf651327bee1cc10157b578c88a279 (diff) | |
It works, permission check missing
Diffstat (limited to 'Dockerfile')
| -rw-r--r-- | Dockerfile | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -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"] + |
