diff --git a/Dockerfile b/Dockerfile index 3d30e76..21afb6e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,7 +9,7 @@ RUN set -ex \ CMD ["/go/bin/docker-volume-sshfs"] FROM alpine -RUN apk update && apk add sshfs +RUN apk update && apk add sshfs && apk add --no-cache tini RUN mkdir -p /run/docker/plugins /mnt/state /mnt/volumes COPY --from=builder /go/bin/docker-volume-sshfs . CMD ["docker-volume-sshfs"] diff --git a/config.json b/config.json index e396ffa..a4765f5 100644 --- a/config.json +++ b/config.json @@ -2,6 +2,8 @@ "description": "sshFS plugin for Docker", "documentation": "https://docs.docker.com/engine/extend/plugins/", "entrypoint": [ + "/sbin/tini", + "--", "/docker-volume-sshfs" ], "env": [