|
|
@ -9,18 +9,13 @@ RUN apt-get update && apt-get install -y \
|
|
|
|
# explicitly provided by parsing the go.mod file. Otherwise we might forget to
|
|
|
|
# explicitly provided by parsing the go.mod file. Otherwise we might forget to
|
|
|
|
# update them here if we bump the versions.
|
|
|
|
# update them here if we bump the versions.
|
|
|
|
ARG PROTOBUF_VERSION
|
|
|
|
ARG PROTOBUF_VERSION
|
|
|
|
ARG GRPC_GATEWAY_VERSION
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ENV PROTOC_GEN_GO_GRPC_VERSION="v1.1.0"
|
|
|
|
ENV PROTOC_GEN_GO_GRPC_VERSION="v1.1.0"
|
|
|
|
ENV FALAFEL_VERSION="v0.9.1"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
RUN cd /tmp \
|
|
|
|
RUN cd /tmp \
|
|
|
|
&& export GO111MODULE=on \
|
|
|
|
&& export GO111MODULE=on \
|
|
|
|
&& go get google.golang.org/protobuf/cmd/protoc-gen-go@${PROTOBUF_VERSION} \
|
|
|
|
&& go get google.golang.org/protobuf/cmd/protoc-gen-go@${PROTOBUF_VERSION} \
|
|
|
|
&& go get google.golang.org/grpc/cmd/protoc-gen-go-grpc@${PROTOC_GEN_GO_GRPC_VERSION} \
|
|
|
|
&& go get google.golang.org/grpc/cmd/protoc-gen-go-grpc@${PROTOC_GEN_GO_GRPC_VERSION}
|
|
|
|
&& go get github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-grpc-gateway@${GRPC_GATEWAY_VERSION} \
|
|
|
|
|
|
|
|
&& go get github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2@${GRPC_GATEWAY_VERSION} \
|
|
|
|
|
|
|
|
&& go get github.com/lightninglabs/falafel@${FALAFEL_VERSION}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
WORKDIR /build
|
|
|
|
WORKDIR /build
|
|
|
|
|
|
|
|
|
|
|
|