forked from Place1/wg-access-server
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace depr. github.com/golang/protobuf with google.golang.org/protobuf
- Loading branch information
1 parent
f2a0aa0
commit 979f0ff
Showing
11 changed files
with
343 additions
and
297 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,10 +8,11 @@ RUN npm ci --no-audit --prefer-offline | |
# Mount ./website/src/sdk to /code/src/sdk | ||
CMD ["npm", "run", "codegen"] | ||
|
||
FROM golang:1.17-alpine as proto-go | ||
FROM golang:1.18-alpine as proto-go | ||
RUN apk add --no-cache protobuf protobuf-dev | ||
WORKDIR /code | ||
RUN go install github.com/golang/protobuf/[email protected] | ||
RUN go install google.golang.org/grpc/cmd/[email protected] | ||
RUN go install google.golang.org/protobuf/cmd/[email protected] | ||
# Mount ./proto to /code/proto | ||
COPY ./codegen.sh ./ | ||
CMD ["./codegen.sh"] |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.