14 lines
598 B
Docker
14 lines
598 B
Docker
FROM golang:1.19-bullseye
|
|
MAINTAINER restitux <restitux@ohea.xyz>
|
|
|
|
# Install connect proto build deps
|
|
RUN GOPATH="/go-bin" go install github.com/bufbuild/buf/cmd/buf@latest && \
|
|
GOPATH="/go-bin" go install github.com/fullstorydev/grpcurl/cmd/grpcurl@latest && \
|
|
GOPATH="/go-bin" go install google.golang.org/protobuf/cmd/protoc-gen-go@latest && \
|
|
GOPATH="/go-bin" go install github.com/bufbuild/connect-go/cmd/protoc-gen-connect-go@latest
|
|
|
|
RUN apt-get update && apt-get install -y \
|
|
ca-certificates \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
ENTRYPOINT ["/build/docker/build-and-run.sh"]
|