From 707ab91baff3ae53f5babd32421964f9c71b00ac Mon Sep 17 00:00:00 2001 From: David Kolossa Date: Tue, 16 Feb 2021 02:34:57 +0100 Subject: [PATCH] Use tini as default entry point (#376) --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3c361058..25d80540 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,7 @@ ENV GOPATH /go COPY . /go/src/github.com/hound-search/hound RUN apk update \ - && apk add go git subversion libc-dev mercurial bzr openssh \ + && apk add go git subversion libc-dev mercurial bzr openssh tini \ && cd /go/src/github.com/hound-search/hound \ && go mod download \ && go install github.com/hound-search/hound/cmds/houndd \ @@ -17,4 +17,4 @@ VOLUME ["/data"] EXPOSE 6080 -ENTRYPOINT ["/go/bin/houndd", "-conf", "/data/config.json"] +ENTRYPOINT ["/sbin/tini", "--", "/go/bin/houndd", "-conf", "/data/config.json"]