This is a Python3 image based on lmnetworks/python3
(GitHub, Docker Hub) with development tools included.
Tools included in this image:
This image is meant to be used as a base to manually test stuff during development or as part of a CI/CD pipeline.
Sources for this image are published on GitHub and builds are available from Docker Hub.
If your Python project uses setuptools you could use a .gitlab-ci.yml
like this to test and build it:
image: "lmnetworks/python3-dev"
stages:
- test
- build
isort:
stage: test
script: "isort --check-only --diff --recursive"
pylint:
stage: test
script: "pylint -E $( ./setup.py --name )"
wheel:
stage: build
script: "python3 setup.py bdist_wheel"
artifacts:
paths:
- dist/*.whl