File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed
Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ COPY ./go.mod ./
1111
1212WORKDIR $GOPATH/src/github.com/shellhub-io/shellhub/openapi
1313
14- COPY ./openapi/go.mod ./openapi/go.sum ./
14+ COPY ./openapi/go.mod ./
1515
1616WORKDIR $GOPATH/src/github.com/shellhub-io/shellhub/api
1717
Original file line number Diff line number Diff line change @@ -26,13 +26,15 @@ WORKDIR $GOPATH/src/github.com/shellhub-io/shellhub
2626
2727COPY ./go.mod ./
2828
29- COPY ./go.sum ./
29+ # As OpenAPI directory doens't depend on other modules in the repo, we don't need to copy go.sum.
30+ # COPY ./go.sum ./
3031
3132WORKDIR $GOPATH/src/github.com/shellhub-io/shellhub/openapi
3233
3334COPY ./openapi/go.mod ./
3435
35- COPY ./openapi/go.sum ./
36+ # As OpenAPI directory doens't depend on other modules in the repo, we don't need to copy go.sum.
37+ # COPY ./openapi/go.sum ./
3638
3739RUN go mod download
3840
You can’t perform that action at this time.
0 commit comments