From 81353199391eba2b2b708ed37d6a7b9326aed907 Mon Sep 17 00:00:00 2001 From: = <=> Date: Fri, 18 Jun 2021 13:43:05 +0200 Subject: [PATCH] fixes vieux/docker-volume-sshfs#78 --- Dockerfile | 2 +- config.json | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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": [