Sign inSign up

codeworkout/cpp

By codeworkout

•Updated over 6 years ago

Image to test C++ code using CxxTest.

Image
0

10K+

codeworkout/cpp repository overview

⁠This image contains:
  • GCC 7.2.0
  • CxxTest 4.3 (/usr/local/cxxtest)

⁠How to use this image in CodeWorkout Project?

Add the following values to the config.rb file in the CodeWorkout project CPP_DOCKER_IMAGE = "codeworkout/cpp"

    CPP = {
      make_cmd: "cd \"%{attempt_dir}\"; docker run --rm " \
        "-v $(pwd):$(pwd) " \
        "-v $(pwd)/../../../../usr/resources/C++/:/usr/resources/C++/:ro " \
        "-w $(pwd) " \
        "#{CPP_DOCKER_IMAGE} " \
        "make " \
        "-C/usr/resources/C++ " \
        "SRC_DIR=$PWD" \
    }

Tag summary

Content type

Image

Digest

Size

502.2 MB

Last updated

over 8 years ago

docker pull codeworkout/cpp