diff --git a/deploy.sh b/deploy.sh index 7709596..bcf8e64 100755 --- a/deploy.sh +++ b/deploy.sh @@ -1,3 +1,4 @@ #!/bin/bash # Wallarm Node Manager — wrapper +export PATH="/opt/fw/docker/bin:$PATH" /usr/bin/env python3 /opt/fw/app/main.py "$@" diff --git a/setup.sh b/setup.sh index e362c52..99bed01 100644 --- a/setup.sh +++ b/setup.sh @@ -60,7 +60,7 @@ if ! command -v docker >/dev/null 2>&1; then tar -xzf "${OFFLINE_DIR}/docker-29.2.1.tgz" -C "${DOCKER_DIR}/bin/" else curl -fsSL "${DOCKER_URL}" -o /tmp/docker.tgz 2>/dev/null && \ - tar -xzf /tmp/docker.tgz -C "${DOCKER_DIR}/bin/" && \ + tar --strip-components=1 -xzf /tmp/docker.tgz -C "${DOCKER_DIR}/bin/" && \ rm -f /tmp/docker.tgz fi