Skip to content

Commit 01d7724

Browse files
michi-covalentmtardy
authored andcommitted
api: Clean up Makefile
Don't pass --rm and --user flags to repo-docker-run.sh. The script sets these flags. Signed-off-by: Michi Mutsuzaki <[email protected]>
1 parent 5a4a392 commit 01d7724

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

api/Makefile

+3-5
Original file line numberDiff line numberDiff line change
@@ -31,24 +31,22 @@ __check-breaking_local:
3131

3232
.PHONY: proto lint format check-breaking
3333
all proto lint format check-breaking:
34-
../contrib/scripts/repo-docker-run.sh --rm \
34+
../contrib/scripts/repo-docker-run.sh \
3535
--volume $(CURDIR)/..:/src \
3636
--workdir /src/api \
37-
--user "$(shell id -u):$(shell id -g)" \
3837
$(BUILDER_IMAGE) \
3938
make -C /src/api __$@_local BUF_BREAKING_AGAINST_BRANCH=$(BUF_BREAKING_AGAINST_BRANCH)
4039

4140
.PHONY: debug
4241
debug:
43-
@echo ../contrib/scripts/repo-docker-run.sh --rm \
42+
@echo ../contrib/scripts/repo-docker-run.sh \
4443
--volume $(CURDIR)/..:/src \
4544
--workdir /src/api \
46-
--user "$(shell id -u):$(shell id -g)" \
4745
$(BUILDER_IMAGE) \
4846
buf $(EXTRA_BUF_FLAGS)
4947

5048
.PHONY: vendor
5149
vendor:
5250
$(GO) mod tidy
5351
$(GO) mod vendor
54-
$(GO) mod verify
52+
$(GO) mod verify

0 commit comments

Comments
 (0)