Skip to content

Commit

Permalink
Merge pull request #7960 from danudey/dfox_enable_local_crane
Browse files Browse the repository at this point in the history
Add LOCAL_CRANE option to lib.Makefile
  • Loading branch information
danudey committed Aug 24, 2023
2 parents ad8bd00 + a3026c5 commit 2ff1514
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib.Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -497,8 +497,13 @@ git-commit:
# different implementation.
###############################################################################

ifdef LOCAL_CRANE
CRANE_CMD = bash -c $(double_quote)crane
else
CRANE_CMD = docker run -t --entrypoint /bin/sh -v $(DOCKER_CONFIG):/root/.docker/config.json $(CALICO_BUILD) -c \
$(double_quote)crane
endif

GIT_CMD = git
DOCKER_CMD = docker

Expand Down

0 comments on commit 2ff1514

Please sign in to comment.