mirror of
https://gitlab.com/ric_harvey/MailHog.git
synced 2024-11-27 16:24:04 +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
|
||||
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"]
|
||||
|
|
Loading…
Reference in a new issue