Skip to content

Commit

Permalink
Merge pull request hound-search#196 from etsy/revert-194-fbochu/docke…
Browse files Browse the repository at this point in the history
…rfile-unprivileged-user

Revert "Dockerfile: Run houndd as unprivileged user"
  • Loading branch information
kellegous committed Feb 26, 2016
2 parents ab6db06 + f6bd516 commit b4a5864
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,8 @@ FROM golang

COPY . /go/src/github.com/etsy/hound
ONBUILD COPY config.json /hound/
RUN adduser --uid 999 --gecos ,,, --disabled-password --home /hound hound
RUN go-wrapper install github.com/etsy/hound/cmds/houndd

USER hound
EXPOSE 6080

ENTRYPOINT ["/go/bin/houndd", "-conf", "/hound/config.json"]

0 comments on commit b4a5864

Please sign in to comment.