Dockerize cpp-coveralls (run cpp-coveralls in a docker container).
$ docker pull ikelewis/cpp-coveralls
Pull the image from Docker Hub, and then save it to a device (e.g. an sd-card) that can later be placed in read-only mode.
$ docker pull ikelewis/cpp-coveralls
$ docker save -o cpp-coveralls.tar ikelewis/cpp-coveralls
Make sure the device used in the previous step is in read-only mode before inserting/connecting it to the desired machine in your offline network. Then load the image onto the machine.
$ docker load -i cpp-coveralls.tar
The following example is taken from the CMakeLists.txt file of the zvalue project.
$ docker run -it --rm -v ${CMAKE_SOURCE_DIR}/docker:/entrypoint/:ro
--entrypoint=/entrypoint/coveralls.sh \${EXTRA_DOCKER_OPTIONS}
ikelewis/cpp-coveralls
$ docker rmi ikelewis/cpp-coveralls