Use official golang as base container

This commit is contained in:
J0WI 2018-01-25 23:45:20 +01:00
parent 1bd561aa34
commit 2489e91c50

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 \