diff options
| author | 2025-10-20 12:23:03 +0200 | |
|---|---|---|
| committer | 2025-10-20 13:29:22 +0200 | |
| commit | 8ef9b0fe88470125d6ee60a3ea0bab796048e692 (patch) | |
| tree | efe91c1f0ad0dc405d6dddbeedeb700c5e1cde6b /Dockerfile | |
| parent | f701015dcce565ab9323a4057b3577f61999601f (diff) | |
Security hardening
Diffstat (limited to 'Dockerfile')
| -rw-r--r-- | Dockerfile | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -9,9 +9,11 @@ COPY src/ssh.conf /etc/ssh/sshd_config.d/ COPY src/sudo-git /etc/sudoers.d/ # copy scrips -COPY src/run /usr/local/bin/ +COPY src/env /usr/local/bin/ COPY src/init /usr/local/bin/ -RUN chmod 755 /usr/local/bin/run +COPY src/run /usr/local/bin/ +RUN chmod 755 /usr/local/bin/env RUN chmod 755 /usr/local/bin/init +RUN chmod 755 /usr/local/bin/run ENTRYPOINT ["/usr/local/bin/init"] |
