Skip to content

Commit 40659ec

Browse files
henrybarretootavio
authored andcommitted
chore(openapi): remove empty go.sum file
1 parent a94613b commit 40659ec

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

api/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ COPY ./go.mod ./
1111

1212
WORKDIR $GOPATH/src/github.com/shellhub-io/shellhub/openapi
1313

14-
COPY ./openapi/go.mod ./openapi/go.sum ./
14+
COPY ./openapi/go.mod ./
1515

1616
WORKDIR $GOPATH/src/github.com/shellhub-io/shellhub/api
1717

openapi/Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,15 @@ WORKDIR $GOPATH/src/github.com/shellhub-io/shellhub
2626

2727
COPY ./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

3132
WORKDIR $GOPATH/src/github.com/shellhub-io/shellhub/openapi
3233

3334
COPY ./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

3739
RUN go mod download
3840

openapi/go.sum

Whitespace-only changes.

0 commit comments

Comments
 (0)