This is a builder image that is able to build C and CPP applications using GCC and G++.
This image is based on iron.io's structure of separating the building process from the runtime container ( https://www.iron.io/microcontainers-tiny-portable-containers/ ). The applications that are built in this container can be used in iron.io's gcc container ( iron/gcc:latest ) ( https://hub.docker.com/r/iron/gcc/ ).
Why use this container instead of iron/gcc:dev? This container contains bash. If you plan to simply use the Dockerfile to build your application, there is no advantage of using this container. If you want to be able to modify things using bash, this container can help you. You could even completely write and build your application via bash.
To run the container and get bash access type: "docker run --name cpp-builder -it harmtacoma/cpp-builder"
Important note: for a clean exit from bash: type exit. This does close the container however. Make sure you have copied what you built in the container beforehand, else you will not be able to retrieve your work as any new container will be empty again.