-
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.
feat(proxyv2): use protoc tools from go.mod
- Loading branch information
Showing
1 changed file
with
8 additions
and
4 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,16 @@ | ||
FROM golang:1.20 as builder | ||
|
||
RUN apt-get update \ | ||
&& apt-get install -y protobuf-compiler \ | ||
&& go install google.golang.org/protobuf/cmd/[email protected] \ | ||
&& go install google.golang.org/grpc/cmd/[email protected] | ||
RUN apt-get update && apt-get install -y protobuf-compiler | ||
|
||
WORKDIR /app | ||
|
||
COPY ./privacy-profile-composer/go.mod ./privacy-profile-composer/go.sum ./ | ||
|
||
RUN go mod download | ||
|
||
RUN go install google.golang.org/protobuf/cmd/protoc-gen-go \ | ||
&& go install google.golang.org/grpc/cmd/protoc-gen-go-grpc | ||
|
||
COPY ./privacy-profile-composer/ ./ | ||
RUN make build-envoy-filter | ||
|
||
|