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 RUN go get github.com/mailhog/MailHog
EXPOSE 8025
RUN apt-get update -qq EXPOSE 1025 8025
RUN apt-get install -qqy ca-certificates
ADD MailHog /tmp/ ENTRYPOINT ["/go/bin/MailHog"]
CMD ["./tmp/MailHog"]