SSHd: allow access to all devices & fix a warning with tini

Signed-off-by: Sylvain Prat <sylvain.prat@gmail.com>
This commit is contained in:
Sylvain Prat 2021-12-22 19:03:43 +01:00
parent be43e99310
commit a71a52b57c
2 changed files with 4 additions and 1 deletions

View File

@ -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"]

View File

@ -16,3 +16,6 @@ config:
- /sys:/sys
capabilities:
- all
devices:
- path: all
type: a