From a71a52b57c504b33b6a2fc87326f6ca1e9741810 Mon Sep 17 00:00:00 2001 From: Sylvain Prat Date: Wed, 22 Dec 2021 19:03:43 +0100 Subject: [PATCH] SSHd: allow access to all devices & fix a warning with tini Signed-off-by: Sylvain Prat --- pkg/sshd/Dockerfile | 2 +- pkg/sshd/build.yml | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/pkg/sshd/Dockerfile b/pkg/sshd/Dockerfile index 168517cdd..d3f1944bd 100644 --- a/pkg/sshd/Dockerfile +++ b/pkg/sshd/Dockerfile @@ -22,4 +22,4 @@ COPY --from=mirror /out/ / COPY etc/ /etc/ COPY usr/ /usr/ RUN mkdir -p /etc/ssh /root/.ssh && chmod 0700 /root/.ssh -CMD ["/sbin/tini", "/usr/bin/ssh.sh"] +CMD ["/sbin/tini", "-s", "/usr/bin/ssh.sh"] diff --git a/pkg/sshd/build.yml b/pkg/sshd/build.yml index 73f43d1b3..a4d095361 100644 --- a/pkg/sshd/build.yml +++ b/pkg/sshd/build.yml @@ -16,3 +16,6 @@ config: - /sys:/sys capabilities: - all + devices: + - path: all + type: a