Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,11 @@ RUN apk --no-cache add --virtual build-dependencies \
&& export GOPATH=/root/gocode \
&& go get github.com/mailhog/MailHog \
&& mv /root/gocode/bin/MailHog /usr/local/bin \
&& rm -rf /root/gocode \
&& apk del --purge build-dependencies
&& rm -rf /root/gocode
RUN apk --no-cache add --virtual build-dependencies \
libcap \
&& setcap CAP_NET_BIND_SERVICE=+eip /usr/local/bin/MailHog \
&& apk del --purge build-dependencies libcap

# Add mailhog user/group with uid/gid 1000.
# This is a workaround for boot2docker issue #581, see
Expand Down