diff --git a/Dockerfile b/Dockerfile index db3126e..b341f46 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,14 +2,14 @@ # MailHog Dockerfile # -FROM golang:alpine as builder +FROM golang:1.18-alpine as builder # Install MailHog: RUN apk --no-cache add --virtual build-dependencies \ git \ && mkdir -p /root/gocode \ && export GOPATH=/root/gocode \ - && go get github.com/mailhog/MailHog + && go install github.com/mailhog/MailHog@latest FROM alpine:3 # Add mailhog user/group with uid/gid 1000.