curl -fsSL https://gist.githubusercontent.com/juniorz/119fb73646771f944fa3/raw/build-tor | /bin/bash
Environment variables:
PREFIX
- installation prefix. Defaults to/opt/edison
EDISON_SDK
- path to Edison SDK. Defaults to/opt/poky-edison/1.6
### Using docker
docker run --rm -v juniorz/edison-ndk \
/bin/bash -c "curl -fsSL https://gist.githubusercontent.com/juniorz/119fb73646771f944fa3/raw/build-tor | /bin/bash"
If you want to put the compiled binaries in your Edison, you may want to
mount the /opt/edison
volume to a path on your docker host, like:
docker run --rm -v `pwd`/edison-root:/opt/edison juniorz/edison-ndk \
/bin/bash -c "curl -fsSL https://gist.githubusercontent.com/juniorz/119fb73646771f944fa3/raw/build-tor | /bin/bash"
(Yes, it works with docker-machine on Mac OS X as long as you run it from somewhere in your home directory)