micro/Dockerfile

8 lines
174 B
Docker
Raw Normal View History

2019-11-19 16:50:31 +00:00
FROM golang:1.13-alpine
ENV GO111MODULE=on
RUN apk --no-cache add make git gcc libtool musl-dev
WORKDIR /
COPY go.mod .
COPY go.sum .
RUN go mod download && rm go.mod go.sum