mirror of
https://github.com/alibaba/higress.git
synced 2026-02-06 23:21:08 +08:00
17 lines
530 B
Makefile
17 lines
530 B
Makefile
.DEFAULT_GOAL := default
|
|
|
|
# This repository has been enabled for BUILD_WITH_CONTAINER=1. Some
|
|
# test cases fail within Docker, and Mac + Docker isn't quite perfect.
|
|
# For more information see: https://github.com/istio/istio/pull/19322/
|
|
|
|
BUILD_WITH_CONTAINER ?= 0
|
|
CONTAINER_OPTIONS = --mount type=bind,source=/tmp,destination=/tmp --net=host
|
|
|
|
ifeq ($(BUILD_WITH_CONTAINER),1)
|
|
# create phony targets for the top-level items in the repo
|
|
PHONYS := $(shell ls | grep -v Makefile)
|
|
.PHONY: $(PHONYS)
|
|
$(PHONYS):
|
|
@$(MAKE_DOCKER) $@
|
|
endif
|