diff --git a/examples/gcp.yml b/examples/gcp.yml index 4bcc9a235..1d1911531 100644 --- a/examples/gcp.yml +++ b/examples/gcp.yml @@ -49,15 +49,9 @@ daemon: net: host oomScoreAdj: -800 - name: sshd - image: "mobylinux/sshd:4f8452ddaff703416fd7452fcd9693b96b23e847" + image: "mobylinux/sshd:160631d59fffc13d523ff7f09b3b49538d34b9cd" capabilities: - - CAP_NET_BIND_SERVICE - - CAP_CHOWN - - CAP_SETUID - - CAP_SETGID - - CAP_DAC_OVERRIDE - - CAP_SYS_CHROOT - - CAP_KILL + - all net: host pid: host binds: diff --git a/examples/sshd.yml b/examples/sshd.yml index 2b1dc2cde..745b15e01 100644 --- a/examples/sshd.yml +++ b/examples/sshd.yml @@ -36,15 +36,9 @@ daemon: net: host oomScoreAdj: -800 - name: sshd - image: "mobylinux/sshd:4f8452ddaff703416fd7452fcd9693b96b23e847" + image: "mobylinux/sshd:160631d59fffc13d523ff7f09b3b49538d34b9cd" capabilities: - - CAP_NET_BIND_SERVICE - - CAP_CHOWN - - CAP_SETUID - - CAP_SETGID - - CAP_DAC_OVERRIDE - - CAP_SYS_CHROOT - - CAP_KILL + - all net: host pid: host binds: diff --git a/pkg/sshd/Dockerfile b/pkg/sshd/Dockerfile index b2ce05627..2c5efdcd8 100644 --- a/pkg/sshd/Dockerfile +++ b/pkg/sshd/Dockerfile @@ -5,6 +5,7 @@ RUN \ apk add --no-cache \ openssh-server \ tini \ + util-linux \ && true COPY . .