From 8373f949266fc1e4cc483959914558e5e7d4920d Mon Sep 17 00:00:00 2001 From: Ian Kent Date: Mon, 14 Nov 2016 22:55:34 +0000 Subject: [PATCH] remove references to Rockerfile --- Makefile | 11 +---------- Rockerfile | 14 -------------- 2 files changed, 1 insertion(+), 24 deletions(-) delete mode 100644 Rockerfile diff --git a/Makefile b/Makefile index c0252fd..c3dcba0 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/Rockerfile b/Rockerfile deleted file mode 100644 index a7dbe84..0000000 --- a/Rockerfile +++ /dev/null @@ -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" }}