mirror of
https://github.com/status-im/status-go.git
synced 2025-02-01 17:38:36 +00:00
add extra checks to docker compose Makefiles
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
4f45bceb9a
commit
1eb0ad91bd
@ -22,6 +22,12 @@ export PUBLIC_IP ?= $(shell curl -s https://ipecho.net/plain)
|
||||
all: checks start show info enode
|
||||
|
||||
checks:
|
||||
ifeq (, $(shell which docker))
|
||||
$(error No $(BOLD)docker$(RESET) in your $$PATH. Please install it)
|
||||
endif
|
||||
ifeq (, $(shell docker version | grep Server))
|
||||
$(error No permissions to run $(BOLD)docker$(RESET) commands)
|
||||
endif
|
||||
ifeq (, $(shell which docker-compose))
|
||||
$(error No $(BOLD)docker-compose$(RESET) in your $$PATH. Please install it)
|
||||
endif
|
||||
|
@ -22,6 +22,12 @@ export PUBLIC_IP ?= $(shell curl -s https://ipecho.net/plain)
|
||||
all: checks start show info enode
|
||||
|
||||
checks:
|
||||
ifeq (, $(shell which docker))
|
||||
$(error No $(BOLD)docker$(RESET) in your $$PATH. Please install it)
|
||||
endif
|
||||
ifeq (, $(shell docker version | grep Server))
|
||||
$(error No permissions to run $(BOLD)docker$(RESET) commands)
|
||||
endif
|
||||
ifeq (, $(shell which docker-compose))
|
||||
$(error No $(BOLD)docker-compose$(RESET) in your $$PATH. Please install it)
|
||||
endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user