parent
b682605762
commit
b86b8baa56
|
@ -4,7 +4,7 @@ ENV GOPROXY https://goproxy.io,direct
|
||||||
WORKDIR /go/cache
|
WORKDIR /go/cache
|
||||||
ADD go.mod .
|
ADD go.mod .
|
||||||
ADD go.sum .
|
ADD go.sum .
|
||||||
RUN go mod download
|
RUN go mod download -x
|
||||||
WORKDIR /go/src
|
WORKDIR /go/src
|
||||||
ADD . .
|
ADD . .
|
||||||
RUN go mod tidy
|
RUN go mod tidy
|
||||||
|
|
|
@ -4,7 +4,7 @@ ENV GOPROXY https://goproxy.io,direct
|
||||||
WORKDIR /go/cache
|
WORKDIR /go/cache
|
||||||
ADD go.mod .
|
ADD go.mod .
|
||||||
ADD go.sum .
|
ADD go.sum .
|
||||||
RUN go mod download
|
RUN go mod download -x
|
||||||
WORKDIR /go/src
|
WORKDIR /go/src
|
||||||
ADD . .
|
ADD . .
|
||||||
RUN go mod tidy
|
RUN go mod tidy
|
||||||
|
|
Loading…
Reference in New Issue