mirror of
https://gitlab.com/ric_harvey/MailHog.git
synced 2024-11-23 22:34:04 +00:00
Use official golang as base container
This commit is contained in:
parent
1bd561aa34
commit
2489e91c50
1 changed files with 1 additions and 6 deletions
|
@ -2,15 +2,10 @@
|
||||||
# MailHog Dockerfile
|
# MailHog Dockerfile
|
||||||
#
|
#
|
||||||
|
|
||||||
FROM alpine:3.4
|
FROM golang:alpine
|
||||||
|
|
||||||
# Install ca-certificates, required for the "release message" feature:
|
|
||||||
RUN apk --no-cache add \
|
|
||||||
ca-certificates
|
|
||||||
|
|
||||||
# Install MailHog:
|
# Install MailHog:
|
||||||
RUN apk --no-cache add --virtual build-dependencies \
|
RUN apk --no-cache add --virtual build-dependencies \
|
||||||
go \
|
|
||||||
git \
|
git \
|
||||||
&& mkdir -p /root/gocode \
|
&& mkdir -p /root/gocode \
|
||||||
&& export GOPATH=/root/gocode \
|
&& export GOPATH=/root/gocode \
|
||||||
|
|
Loading…
Reference in a new issue