Merge pull request #191 from J0WI/golang-base

Use official golang as base container
This commit is contained in:
Tyndyll 2019-05-27 21:33:08 +01:00 committed by GitHub
commit 9b87c4cf3a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,15 +2,10 @@
# MailHog Dockerfile
#
FROM alpine:3.4
# Install ca-certificates, required for the "release message" feature:
RUN apk --no-cache add \
ca-certificates
FROM golang:alpine
# Install MailHog:
RUN apk --no-cache add --virtual build-dependencies \
go \
git \
&& mkdir -p /root/gocode \
&& export GOPATH=/root/gocode \