Sign inSign up

codeworkout/python

By codeworkout

•Updated over 6 years ago

Image to test Python code using PyTest.

Image
0

399

codeworkout/python repository overview

⁠This image contains:
  • Python 3.6.4
  • Pytest 3.4.1

⁠How to use this image in CodeWorkout Project?

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

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

Tag summary

Content type

Image

Digest

Size

830.8 MB

Last updated

over 6 years ago

docker pull codeworkout/python