Skip to content

Commit

Permalink
non-tty execution of install script
Browse files Browse the repository at this point in the history
  • Loading branch information
pygrum committed Nov 29, 2023
1 parent 0adb0ab commit 4e672e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/docker-install-monarch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 4e672e9

Please sign in to comment.