Skip to content

Commit

Permalink
Use tini as default entry point (hound-search#376)
Browse files Browse the repository at this point in the history
  • Loading branch information
yayachiken authored Feb 16, 2021
1 parent ec82525 commit 707ab91
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand All @@ -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"]

0 comments on commit 707ab91

Please sign in to comment.