virtual-vxlan/Dockerfile
2025-01-05 23:26:56 -06:00

12 lines
376 B
Docker

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; \
export GOPATH=/go-docker; \
go install google.golang.org/protobuf/cmd/protoc-gen-go@latest; \
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest
ENV PATH="/go-docker/bin:$PATH"