https://launchpad.net/~snappy-dev/+archive/ubuntu/tools/+packages
dget -u https://launchpad.net/~snappy-dev/+archive/ubuntu/tools/+files/goget-ubuntu-touch_0.31-0ubuntu1.dsc
go get launchpad.net/godeps
godeps -t -u dependencies.tsv
go get launchpad.net/goget-ubuntu-touch
go build -v launchpad.net/goget-ubuntu-touch/ubuntu-device-flash
go install -v launchpad.net/goget-ubuntu-touch/ubuntu-device-flash
ssh-keygen -t rsa
refer https://github.com/woodrow-shen/build-snappy-on-docker
sudo useradd -r -s /bin/false -d /nonexistent -U clickpkg
sudo useradd -r -s /bin/false -d /nonexistent -U snappypkg
DOCKER_OPTS="--storage-driver=devicemapper --storage-opt dm.basesize=10G"
sudo docker build --rm --tag="woodrowshen/snappy-vivid:v1" .
sudo docker run -p 8080:8080 --privileged -it -v /image:/host woodrowshen/snappy-vivid