ous_run 720 B

12345678
  1. #!/bin/bash
  2. ./mktestenvconfig || exit 1
  3. . testenv_config
  4. docker network create vnc >/dev/null 2>&1
  5. # docker rm ous; docker run -p 5900:5900 --name ous -it -v ${SLITHEEN_FIREFOX_REPO}:/home/iang/firefox --net=vnc slitheen /bin/bash -c 'echo "Waiting for veth to appear..."; while ! ifconfig veth0 >/dev/null 2>&1; do sleep 1; done; sleep 1; ./start_x; export SLITHEEN_PUBKEY=/home/iang/firefox/pubkey; cd firefox && ./mach run'
  6. docker rm ous; docker run --privileged -p 1080:1080 -p 5900:5900 --name ous -it -v ${SLITHEEN_FIREFOX_REPO}:/home/iang/firefox -v ${SLITHEEN_CODE_REPO}:/home/iang/slitheen_code --net=vnc slitheen /bin/bash -c './start_x; export SLITHEEN_PUBKEY=/home/iang/firefox/pubkey; cd firefox && bash'