
Now you can use your created build environment for CentOS builds. backup your container as base build image docker commit centos:build.run docker ps -a to obtain your container id.install your desired gcc version (something like sudo yum group install "Development Tools").start a new container with docker run -ti centos5.3 /bin/bash (search the official Docker Hub for your desired target).Install docker and prepare your build image.


Docker basically creates a Linux VM and provides some nice-to-have functions. Nowadays you can probably do it with Docker for Mac, I didn't test it because I have no mac.
