From 4e672e9c8f9edb8d3d35484cbc85afb82652d349 Mon Sep 17 00:00:00 2001 From: pygrum Date: Wed, 29 Nov 2023 00:02:16 +0000 Subject: [PATCH] non-tty execution of install script --- scripts/docker-install-monarch.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/docker-install-monarch.sh b/scripts/docker-install-monarch.sh index b6e8439..a003b3b 100644 --- a/scripts/docker-install-monarch.sh +++ b/scripts/docker-install-monarch.sh @@ -16,8 +16,8 @@ echo "building monarch container" docker build -t monarch-ctr:latest -f docker/monarch/Dockerfile . docker run -v /var/run/docker.sock:/var/run/docker.sock --name monarch-ctr -dit monarch-ctr:latest echo "running installer on container..." -docker exec -it monarch-ctr bash -c 'chmod +x scripts/install-monarch.sh && ./scripts/install-monarch.sh' -docker exec -it monarch-ctr bash -c 'mv /root/.local/bin/monarch /usr/bin/monarch && echo "moved to /usr/bin/monarch"' +docker exec -i monarch-ctr bash -c 'chmod +x scripts/install-monarch.sh && ./scripts/install-monarch.sh' +docker exec -i monarch-ctr bash -c 'mv /root/.local/bin/monarch /usr/bin/monarch && echo "moved to /usr/bin/monarch"' echo "done, connecting container to network" docker network connect monarch-net monarch-ctr echo "stopping container"