remove references to Rockerfile

This commit is contained in:
Ian Kent 2016-11-14 22:55:34 +00:00
parent 3032a2304d
commit 8373f94926
No known key found for this signature in database
GPG key ID: 8E877B590FA10569
2 changed files with 1 additions and 24 deletions

View file

@ -50,13 +50,4 @@ tag:
cd ../smtp; git tag -a -m 'v${VERSION}' v${VERSION} && git push origin v${VERSION}
cd ../storage; git tag -a -m 'v${VERSION}' v${VERSION} && git push origin v${VERSION}
rocker: rocker-deps
rocker build --no-cache
rocker-deps:
go get github.com/grammarly/rocker
dockerhub: rocker
docker push mailhog/mailhog
.PNONY: all combined release fmt deps test-deps release-deps pull tag rocker rocker-deps
.PNONY: all combined release fmt deps test-deps release-deps pull tag

View file

@ -1,14 +0,0 @@
# build image
FROM golang:latest
RUN go get -v github.com/mailhog/MailHog && \
cd /go/src && \
CGO_ENABLED=0 go build -a -installsuffix cgo -v -o /go/bin/MailHog.o github.com/mailhog/MailHog/main.go
EXPORT /go/bin/ /target
# run image
FROM alpine:latest
IMPORT /target/ /tmp
RUN cp /tmp/MailHog.o /MailHog
EXPOSE 1025 8025
CMD ["/MailHog"]
TAG mailhog/mailhog:{{ or .VERSION "latest" }}