Skip to content

Latest commit

 

History

History
34 lines (28 loc) · 869 Bytes

README.md

File metadata and controls

34 lines (28 loc) · 869 Bytes

codewars-python

Learning and improving Python one kata at a time.

Build Python 3.11 Docker image

Use the build script in order to build the custom Python 3.11 Docker image andrerademacher/codewars-python311.

ci/build_docker_image.sh

Run command in container

The container.sh script makes running commands in the Docker container easy! To open a shell, just add the "bash" command:

container.sh bash

The current Python version can be shown like this:

container.sh python --version

The pip binary is already present in the latest version supporting Python 3.11 . To run any pip command, like pip list, just type:

container.sh pip list

After installing the dependencies, the unit test suite can be run inside the container by calling the run_tests.sh shell script:

container.sh ./run_tests.sh