fix entrypoint for bootnode Docker image
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
1eb0ad91bd
commit
0f06b4ca6a
|
@ -21,4 +21,4 @@ LABEL description="bootnode is an Ethereum bootnode with patched Discovery V5."
|
||||||
RUN apk add --no-cache ca-certificates bash
|
RUN apk add --no-cache ca-certificates bash
|
||||||
|
|
||||||
COPY --from=builder /go/src/github.com/status-im/status-go/build/bin/bootnode /usr/local/bin/
|
COPY --from=builder /go/src/github.com/status-im/status-go/build/bin/bootnode /usr/local/bin/
|
||||||
ENTRYPOINT /usr/local/bin/bootnode
|
ENTRYPOINT ["/usr/local/bin/bootnode"]
|
||||||
|
|
|
@ -26,7 +26,7 @@ ifeq (, $(shell which docker))
|
||||||
$(error No $(BOLD)docker$(RESET) in your $$PATH. Please install it)
|
$(error No $(BOLD)docker$(RESET) in your $$PATH. Please install it)
|
||||||
endif
|
endif
|
||||||
ifeq (, $(shell docker version | grep Server))
|
ifeq (, $(shell docker version | grep Server))
|
||||||
$(error No permissions to run $(BOLD)docker$(RESET) commands)
|
$(error No permissions to run $(BOLD)docker$(RESET). Add yourself to docker group)
|
||||||
endif
|
endif
|
||||||
ifeq (, $(shell which docker-compose))
|
ifeq (, $(shell which docker-compose))
|
||||||
$(error No $(BOLD)docker-compose$(RESET) in your $$PATH. Please install it)
|
$(error No $(BOLD)docker-compose$(RESET) in your $$PATH. Please install it)
|
||||||
|
|
|
@ -26,7 +26,7 @@ ifeq (, $(shell which docker))
|
||||||
$(error No $(BOLD)docker$(RESET) in your $$PATH. Please install it)
|
$(error No $(BOLD)docker$(RESET) in your $$PATH. Please install it)
|
||||||
endif
|
endif
|
||||||
ifeq (, $(shell docker version | grep Server))
|
ifeq (, $(shell docker version | grep Server))
|
||||||
$(error No permissions to run $(BOLD)docker$(RESET) commands)
|
$(error No permissions to run $(BOLD)docker$(RESET). Add yourself to docker group)
|
||||||
endif
|
endif
|
||||||
ifeq (, $(shell which docker-compose))
|
ifeq (, $(shell which docker-compose))
|
||||||
$(error No $(BOLD)docker-compose$(RESET) in your $$PATH. Please install it)
|
$(error No $(BOLD)docker-compose$(RESET) in your $$PATH. Please install it)
|
||||||
|
|
Loading…
Reference in New Issue