From 423e8a2bba1ead6b8d1455b77cf335cb59c45e1d Mon Sep 17 00:00:00 2001 From: Valentin Lab Date: Fri, 13 Dec 2019 18:36:29 +0100 Subject: [PATCH] new: [install.sh] fetch ``docker-ip`` also. Signed-off-by: Valentin Lab --- src/install.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/install.sh b/src/install.sh index 1019339..efd7c39 100644 --- a/src/install.sh +++ b/src/install.sh @@ -241,6 +241,11 @@ fetch_binary() { } +get_docker_ip() { + fetch_binary https://git.0k.io/0k-docker.git/plain/src/bin/docker-ip docker-ip +} + + install.linux() { depends docker curl git @@ -257,6 +262,7 @@ install.linux() { fi fetch_binary https://git.0k.io/0k-compose.git/plain/bin/compose compose + get_docker_ip if [[ ":$PATH:" != *":$BIN_PATH:"* ]]; then warn "Please ensure that '$BIN_PATH' is in your \$PATH to ensure" \ @@ -317,6 +323,7 @@ install.mac() { install.wsl() { CHARM_PATH=~/.charm-store get_charm_store || return 1 + get_docker_ip }