Skip to content

Commit eba4b19

Browse files
authored
Allow using different container runtime (#6247)
1 parent 7b4631c commit eba4b19

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)