Skip to content

Commit c9e21a4

Browse files
committed
allow to define container tool to generate go files for protobuf
1 parent c00931f commit c9e21a4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Makefile.Protobuf.mk

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,10 @@
1414
# instead of the go_package's declared by the imported protof files.
1515
#
1616

17+
DOCKER=docker
1718
DOCKER_PROTOBUF_VERSION=0.5.0
1819
DOCKER_PROTOBUF=jaegertracing/protobuf:$(DOCKER_PROTOBUF_VERSION)
19-
PROTOC := docker run --rm -u ${shell id -u} -v${PWD}:${PWD} -w${PWD} ${DOCKER_PROTOBUF} --proto_path=${PWD}
20+
PROTOC := ${DOCKER} run --rm -u ${shell id -u} -v${PWD}:${PWD} -w${PWD} ${DOCKER_PROTOBUF} --proto_path=${PWD}
2021

2122
PATCHED_OTEL_PROTO_DIR = proto-gen/.patched-otel-proto
2223

0 commit comments

Comments
 (0)