summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorGravatar Matthias Lucas Jaros <jarlucmat@mailbox.org>2025-10-20 12:23:03 +0200
committerGravatar Matthias Lucas Jaros <jarlucmat@mailbox.org>2025-10-20 13:29:22 +0200
commit8ef9b0fe88470125d6ee60a3ea0bab796048e692 (patch)
treeefe91c1f0ad0dc405d6dddbeedeb700c5e1cde6b /Dockerfile
parentf701015dcce565ab9323a4057b3577f61999601f (diff)
Security hardening
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile
index e773b1c..c25e8c0 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -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"]