Learning and improving Python one kata at a time.
Use the build script in order to build the custom Python 3.11 Docker image
andrerademacher/codewars-python311
.
ci/build_docker_image.sh
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