forked from mystiq/dex
Download dependencies in advance
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
This commit is contained in:
parent
10ac93d42b
commit
85239d515d
1 changed files with 6 additions and 0 deletions
|
@ -12,6 +12,12 @@ ENV GOOS=${TARGETOS} \
|
||||||
|
|
||||||
RUN apk add --no-cache --update alpine-sdk
|
RUN apk add --no-cache --update alpine-sdk
|
||||||
|
|
||||||
|
ARG GOPROXY
|
||||||
|
|
||||||
|
COPY go.mod go.sum ./
|
||||||
|
COPY api/v2/go.mod api/v2/go.sum ./api/v2/
|
||||||
|
RUN go mod download
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
RUN make release-binary
|
RUN make release-binary
|
||||||
|
|
Loading…
Reference in a new issue