Skip to content
This repository has been archived by the owner on Mar 6, 2024. It is now read-only.

Commit

Permalink
Increase make generate performance on Mac by using delegated mount mo…
Browse files Browse the repository at this point in the history
…de (#536)
  • Loading branch information
jiachengxu authored Aug 3, 2020
1 parent d207603 commit fd27811
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ generate-grpc:
ifdef CI
@hack/proto-codegen.sh
else
@docker run --rm -e CI=true -w /src -v $(PWD):/src \
@docker run --rm -e CI=true -w /src -v $(PWD):/src:delegated \
--user "$(id -u):$(id -g)" \
quay.io/kubecarrier/dev:${DEV_IMAGE_TAG} \
make generate-grpc
Expand All @@ -131,7 +131,7 @@ ifdef CI
@hack/codegen.sh
@FIX_GOLDEN=1 go test ./pkg/internal/resources/...
else
@docker run --rm -e CI=true -w /src -v $(PWD):/src \
@docker run --rm -e CI=true -w /src -v $(PWD):/src:delegated \
--user "$(id -u):$(id -g)" \
quay.io/kubecarrier/dev:${DEV_IMAGE_TAG} \
make generate-config
Expand Down

0 comments on commit fd27811

Please sign in to comment.