mirror of
https://gitlab.com/ric_harvey/MailHog.git
synced 2025-02-25 12:15:55 +00:00
remove references to Rockerfile
This commit is contained in:
parent
3032a2304d
commit
8373f94926
2 changed files with 1 additions and 24 deletions
11
Makefile
11
Makefile
|
@ -50,13 +50,4 @@ tag:
|
||||||
cd ../smtp; git tag -a -m 'v${VERSION}' v${VERSION} && git push origin v${VERSION}
|
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}
|
cd ../storage; git tag -a -m 'v${VERSION}' v${VERSION} && git push origin v${VERSION}
|
||||||
|
|
||||||
rocker: rocker-deps
|
.PNONY: all combined release fmt deps test-deps release-deps pull tag
|
||||||
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
|
|
||||||
|
|
14
Rockerfile
14
Rockerfile
|
@ -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" }}
|
|
Loading…
Add table
Reference in a new issue