Working Dockerfile

You can test it from the docker hub https://registry.hub.docker.com/u/humboldtux/mailhog/
This commit is contained in:
Benoit Benedetti 2014-12-30 19:52:31 +01:00
parent 1e2d0045b4
commit 6229a120f8

View file

@ -1,11 +1,8 @@
FROM ubuntu:14.04
# Base docker image
FROM golang:latest
EXPOSE 1025
EXPOSE 8025
RUN go get github.com/mailhog/MailHog
RUN apt-get update -qq
RUN apt-get install -qqy ca-certificates
EXPOSE 1025 8025
ADD MailHog /tmp/
CMD ["./tmp/MailHog"]
ENTRYPOINT ["/go/bin/MailHog"]