In our development process, we met a lot of environment issue when compile the source code on different OS, so we created a docker image which is base on Ubuntu 12.04 to avoiding this.
This image is created by a Dockerfile, you can get it from https://github.com/BPI-SINOVOIP/bpi-build.
For using this image, you must take a moment to install the docker on your host and learn some basic docker commands in https://docs.docker.com/
The docker image has been uploaded to Docker Hub, you can get it by docker pull command.
$ docker pull sinovoip/bpi-build:ubuntu12.04
After pull the image, you can start a bash
$ docker run -t -i sinovoip/bpi-build:ubuntu12.04 /bin/bash
or start a ssh to access the container
$ docker run -d -p 2222:22 -v /media:/media sinovoip/bpi-build:ubuntu12.04
on your host
$ ssh -p 2222 [email protected] //default passwd is root
Now you can build all BPI source in this docker container.
thanks, DK