Skip to content

Commit

Permalink
feat(proxyv2): use protoc tools from go.mod
Browse files Browse the repository at this point in the history
  • Loading branch information
qlonik committed Feb 26, 2024
1 parent 376e616 commit db19894
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions docker/istio-proxyv2.Dockerfile
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

Expand Down

0 comments on commit db19894

Please sign in to comment.