Refactor docker script to support override

This commit is contained in:
2023-01-08 17:09:00 -07:00
parent 5f754e3daa
commit f4798233ba
5 changed files with 38 additions and 19 deletions
+1 -7
View File
@@ -1,13 +1,7 @@
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"]
ENTRYPOINT ["/build/server/docker/build-and-run.sh"]