docker 容器为ubuntu12.04 ,无法添加软件源。
apt-get install python-software-properties software-properties-common
apt-get update
然后安装gcc-4.8 g++-4.8