Docker container build on top off the official gcc image including cmake (version 3.19.0)
This image is just an extension of official gcc image thus for the full documentation see the docs there.
In your sources directory call
docker run --rm -v `pwd`:/usr/src/myapp rikorose/gcc-cmake:<version> command
Where:
- version - is version of gcc [4,5,6,7,8,9,10 (latest)]