Skip to content

Commit 1b50061

Browse files
author
Istemi Ekin Akkus
committed
fix: management Makefile uses current user id and group for thrift build
1 parent f6c33ba commit 1b50061

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ManagementService/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ thrift: $(THRIFT)
2828

2929
$(THRIFT): ../DataLayerService/thrift/DataLayerMessage.thrift ../DataLayerService/thrift/DataLayerService.thrift
3030
mkdir -p data_layer
31-
docker run --rm -v $(CURDIR)/..:/root -w /root thrift:0.12.0 bash -c '\
31+
docker run --user $$(id -u):$$(id -g) --rm -v $(CURDIR)/..:/root -w /root thrift:0.12.0 bash -c '\
3232
thrift --gen py -out ManagementService/ DataLayerService/thrift/DataLayerMessage.thrift; \
3333
thrift --gen py -out ManagementService/ DataLayerService/thrift/DataLayerService.thrift'
3434

0 commit comments

Comments
 (0)