forked from open-telemetry/opentelemetry-demo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Commit generated Go code and bump dependencies (open-telemetry#946)
* accountingservice: commit generated code bump deps * license-checker to ignore genproto * Update README.md * Add comment to tools.go * checkoutservice: commit generated code bump dependencies * productcatalogservice: commit generated code bump dependencies
- Loading branch information
1 parent
4f7d042
commit 808421a
Showing
27 changed files
with
15,601 additions
and
1,249 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,19 +3,10 @@ | |
|
||
|
||
FROM golang:1.19.2-alpine AS builder | ||
RUN apk add build-base protobuf-dev protoc | ||
WORKDIR /usr/src/app/ | ||
|
||
# Restore dependencies | ||
COPY ./src/accountingservice/ ./ | ||
COPY ./pb/ ./proto/ | ||
RUN go mod download | ||
RUN go install google.golang.org/protobuf/cmd/[email protected] | ||
RUN go install google.golang.org/grpc/cmd/[email protected] | ||
|
||
# Build executable | ||
RUN protoc -I ./proto/ ./proto/demo.proto --go_out=./ --go-grpc_out=./ | ||
RUN go build -o /go/bin/accountingservice/ ./ | ||
RUN go build -o /go/bin/accountingservice/ | ||
|
||
# ----------------------------------------------------------------------------- | ||
|
||
|
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
Oops, something went wrong.