Browse Source

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

Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
dev
Valentin Lab 5 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() { install.linux() {
depends docker curl git depends docker curl git
@ -257,6 +262,7 @@ install.linux() {
fi fi
fetch_binary https://git.0k.io/0k-compose.git/plain/bin/compose compose fetch_binary https://git.0k.io/0k-compose.git/plain/bin/compose compose
get_docker_ip
if [[ ":$PATH:" != *":$BIN_PATH:"* ]]; then if [[ ":$PATH:" != *":$BIN_PATH:"* ]]; then
warn "Please ensure that '$BIN_PATH' is in your \$PATH to ensure" \ warn "Please ensure that '$BIN_PATH' is in your \$PATH to ensure" \
@ -317,6 +323,7 @@ install.mac() {
install.wsl() { install.wsl() {
CHARM_PATH=~/.charm-store CHARM_PATH=~/.charm-store
get_charm_store || return 1 get_charm_store || return 1
get_docker_ip
} }

Loading…
Cancel
Save