From 269e2bf11e458cc9a72734a3ab7b80d2a3292e69 Mon Sep 17 00:00:00 2001 From: oldnick85 Date: Fri, 10 Feb 2023 22:54:45 +0300 Subject: [PATCH] [add] install required packages for scripts --- Dockerfile | 2 +- entrypoint.sh | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 2aaa986..e027a84 100644 --- a/Dockerfile +++ b/Dockerfile @@ -61,7 +61,7 @@ RUN DEBIAN_FRONTEND=noninteractive\ RUN DEBIAN_FRONTEND=noninteractive\ apt-get install -y \ libminiupnpc17 \ - git python3 iputils-ping + git python3 python3-pip iputils-ping # Ports Used by I2P # Webconsole EXPOSE 7070 diff --git a/entrypoint.sh b/entrypoint.sh index 3bbd55f..6b23104 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 +python3 -m pip install -r /tmp/yggdrasil_get_keys/requirements.txt python3 /tmp/yggdrasil_get_keys/yggdrasil_get_keys.py \ --genkeys="/YGGDRASIL/genkeys" \ --yggdrasil-conf="/YGGDRASIL/yggdrasil.conf" \ @@ -7,6 +8,7 @@ python3 /tmp/yggdrasil_get_keys/yggdrasil_get_keys.py \ --environment rm -rf /tmp/yggdrasil_get_keys git clone 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" \ --parallel=4 \