Docker image for building C++ projects
10K+
# make sure you're logged in to the public Docker remote
docker login docker.io
# pull the image
docker pull dylankenneally/centoscppbuildtools:latest
# compiling C++ apps
docker run --rm -v "$PWD":/usr/src/app -w /usr/src/app dylankenneally/centoscppbuildtools:latest g++ -o executable hello-world.cpp
# using CMake
docker run --rm -v "$PWD":/usr/src/app -w /usr/src/app dylankenneally/centoscppbuildtools:latest cmake .
git clone https://github.com/dylankenneally/docker-build-containers.git
cd docker-build-containers
docker build --rm -f Dockerfile . -t dylankenneally/centoscppbuildtools:latest # change the tag name if you intend to `docker push`
Content type
Image
Digest
Size
427.1 MB
Last updated
almost 7 years ago
docker pull dylankenneally/centoscppbuildtools