Init the proto library

This commit is contained in:
2024-03-17 19:28:54 +01:00
parent f294de8ec4
commit f68db3a331
6 changed files with 631 additions and 0 deletions

11
Containerfile Normal file
View File

@ -0,0 +1,11 @@
FROM alpine:3.19.1
run apk update
RUN apk add --no-cache git make musl-dev go protobuf protobuf-dev
ENV GOROOT /usr/lib/go
ENV GOPATH /go
ENV PATH /go/bin:$PATH
RUN go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.26
RUN go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.1
CMD [ "protoc -v" ]