From fbbfd7a1fe1fc77cf7b71eb65334920a62a2702e Mon Sep 17 00:00:00 2001 From: Rolf Neugebauer Date: Thu, 25 May 2017 14:52:22 +0100 Subject: [PATCH] pkg: Add config label to the sshd package Also update to latest Alpine base image. Signed-off-by: Rolf Neugebauer --- pkg/sshd/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/sshd/Dockerfile b/pkg/sshd/Dockerfile index c2f98322a..fd5457637 100644 --- a/pkg/sshd/Dockerfile +++ b/pkg/sshd/Dockerfile @@ -1,4 +1,4 @@ -FROM linuxkit/alpine:6336329f15b4166514782eaa555cf0ffd35c519c@sha256:f6c2ce92910b1d6e4e5557850a554f4a3ae9f66c1e89ad86a24d6c6e550f165e AS mirror +FROM linuxkit/alpine:630ee558e4869672fae230c78364e367b8ea67a9 AS mirror RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/ RUN apk add --no-cache --initdb -p /out \ @@ -19,3 +19,4 @@ COPY etc/ /etc/ COPY usr/ /usr/ RUN mkdir -p /etc/ssh /root/.ssh && chmod 0700 /root/.ssh CMD ["/sbin/tini", "/usr/bin/ssh.sh"] +LABEL org.mobyproject.config='{"net": "host", "pid": "host", "binds": ["/root/.ssh:/root/.ssh", "/etc/resolv.conf:/etc/resolv.conf"], "capabilities": ["all"]}'