virtual-vxlan/Dockerfile

12 lines
376 B
Docker
Raw Normal View History

2025-01-05 22:22:24 -06:00
ARG GO_BUILDER_VERSION
FROM ghcr.io/gythialy/golang-cross:$GO_BUILDER_VERSION
RUN apt-get update; \
apt-get --no-install-recommends -y -q install protobuf-compiler; \
2025-01-05 23:26:56 -06:00
export GOPATH=/go-docker; \
2025-01-05 22:22:24 -06:00
go install google.golang.org/protobuf/cmd/protoc-gen-go@latest; \
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest
2025-01-05 23:26:56 -06:00
ENV PATH="/go-docker/bin:$PATH"