Browse Source

new: [install.sh] fetch ``docker-ip`` also.

Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
pull/1/head
Valentin Lab 4 years ago
parent
commit
423e8a2bba
  1. 7
      src/install.sh

7
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
}

Loading…
Cancel
Save