From 42115d62dc59fbcf22514ea2c03ae073ce82f573 Mon Sep 17 00:00:00 2001 From: oldnick85 Date: Sat, 11 Feb 2023 11:34:45 +0300 Subject: [PATCH] [add] stick scripts to specific versions --- entrypoint.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index 6b23104..43a29b2 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -1,5 +1,6 @@ #!/bin/bash -git clone https://github.com/oldnick85/yggdrasil_get_keys.git /tmp/yggdrasil_get_keys +git config --global advice.detachedHead false +git clone --depth 1 --branch v0 https://github.com/oldnick85/yggdrasil_get_keys.git /tmp/yggdrasil_get_keys python3 -m pip install -r /tmp/yggdrasil_get_keys/requirements.txt python3 /tmp/yggdrasil_get_keys/yggdrasil_get_keys.py \ --genkeys="/YGGDRASIL/genkeys" \ @@ -7,7 +8,7 @@ python3 /tmp/yggdrasil_get_keys/yggdrasil_get_keys.py \ --timeout=10 \ --environment rm -rf /tmp/yggdrasil_get_keys -git clone https://github.com/oldnick85/yggdrasil_find_public_peers.git /tmp/yggdrasil_find_public_peers +git clone --depth 1 --branch v0 https://github.com/oldnick85/yggdrasil_find_public_peers.git /tmp/yggdrasil_find_public_peers python3 -m pip install -r /tmp/yggdrasil_find_public_peers/requirements.txt python3 /tmp/yggdrasil_find_public_peers/yggdrasil_find_public_peers.py \ --yggdrasil-conf="/YGGDRASIL/yggdrasil.conf" \