mirror of
https://gitlab.com/ric_harvey/MailHog.git
synced 2025-02-17 08:15:55 +00:00
Working Dockerfile
You can test it from the docker hub https://registry.hub.docker.com/u/humboldtux/mailhog/
This commit is contained in:
parent
1e2d0045b4
commit
6229a120f8
1 changed files with 5 additions and 8 deletions
13
Dockerfile
13
Dockerfile
|
@ -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"]
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue