update dockerfile add dep

pull/91/head
kun 2019-08-01 15:16:34 +08:00
parent 12fb2b3845
commit 434ee94b61
1 changed files with 2 additions and 2 deletions

View File

@ -1,13 +1,13 @@
FROM golang:alpine AS build
RUN apk add --no-cache -U make
RUN apk add --no-cache -U make git mercurial subversion bzr fossil
COPY . /src/goproxy
RUN cd /src/goproxy &&\
export CGO_ENABLED=0 &&\
make
FROM alpine:latest
FROM golang:alpine
RUN apk add --no-cache -U git mercurial subversion bzr fossil