From eba4b19dfe134fe4a1282e9e4bc1c3d782e7474b Mon Sep 17 00:00:00 2001 From: Zhang Xin Date: Sat, 23 Nov 2024 22:50:32 +0800 Subject: [PATCH] Allow using different container runtime (#6247) --- Makefile.Protobuf.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile.Protobuf.mk b/Makefile.Protobuf.mk index 10ba6af1cb1..bb10b7d8ad0 100644 --- a/Makefile.Protobuf.mk +++ b/Makefile.Protobuf.mk @@ -14,9 +14,10 @@ # instead of the go_package's declared by the imported protof files. # +DOCKER=docker DOCKER_PROTOBUF_VERSION=0.5.0 DOCKER_PROTOBUF=jaegertracing/protobuf:$(DOCKER_PROTOBUF_VERSION) -PROTOC := docker run --rm -u ${shell id -u} -v${PWD}:${PWD} -w${PWD} ${DOCKER_PROTOBUF} --proto_path=${PWD} +PROTOC := ${DOCKER} run --rm -u ${shell id -u} -v${PWD}:${PWD} -w${PWD} ${DOCKER_PROTOBUF} --proto_path=${PWD} PATCHED_OTEL_PROTO_DIR = proto-gen/.patched-otel-proto