fix: deploy.sh exports docker PATH, link to /usr/bin
This commit is contained in:
parent
d1c3f69f99
commit
84612e4c7e
2 changed files with 2 additions and 1 deletions
|
|
@ -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 "$@"
|
||||
|
|
|
|||
2
setup.sh
2
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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue