support ent debug mode (#17411)
This commit is contained in:
parent
048905c024
commit
b7233df68f
|
@ -165,13 +165,13 @@ dev-build:
|
|||
cp ${MAIN_GOPATH}/bin/consul ./bin/consul
|
||||
|
||||
|
||||
dev-docker-dbg: dev-docker linux dev-build
|
||||
dev-docker-dbg: dev-docker
|
||||
@echo "Pulling consul container image - $(CONSUL_IMAGE_VERSION)"
|
||||
@docker pull consul:$(CONSUL_IMAGE_VERSION) >/dev/null
|
||||
@echo "Building Consul Development container - $(CONSUL_DEV_IMAGE)"
|
||||
@# 'consul-dbg:local' tag is needed to run the integration tests
|
||||
@# 'consul-dev:latest' is needed by older workflows
|
||||
@docker buildx use default && docker buildx build -t 'consul-dbg:local' -t '$(CONSUL_DEV_IMAGE)' \
|
||||
@docker buildx use default && docker buildx build -t $(CONSUL_COMPAT_TEST_IMAGE)-dbg:local \
|
||||
--platform linux/$(GOARCH) \
|
||||
--build-arg CONSUL_IMAGE_VERSION=$(CONSUL_IMAGE_VERSION) \
|
||||
--load \
|
||||
|
|
Loading…
Reference in New Issue