mirror of https://github.com/goproxyio/goproxy
update dockerfile add dep
parent
12fb2b3845
commit
434ee94b61
|
@ -1,13 +1,13 @@
|
||||||
FROM golang:alpine AS build
|
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
|
COPY . /src/goproxy
|
||||||
RUN cd /src/goproxy &&\
|
RUN cd /src/goproxy &&\
|
||||||
export CGO_ENABLED=0 &&\
|
export CGO_ENABLED=0 &&\
|
||||||
make
|
make
|
||||||
|
|
||||||
FROM alpine:latest
|
FROM golang:alpine
|
||||||
|
|
||||||
RUN apk add --no-cache -U git mercurial subversion bzr fossil
|
RUN apk add --no-cache -U git mercurial subversion bzr fossil
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue