Skip to content

socialwifi/docker-kubeyard-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

KUBEYARD PYTHON IMAGE

Basic python image that meets kubeyard requirements.

For more info, please read kubeyard documentation!

Advanced usage

If you want to allow downloading packages from own pypi for all images built on this image, you need to run:

docker build -t kubeyard-python:own_pypi --build-arg PIP_EXTRA_INDEX_URL=https://username:[email protected] .

Assumptions

Static analysis

For static analysis we are using flake8 and isort.

We are using flake8 and isort separately due to code fixing - When isort is trying to fix imports it uses only own config files, flake8 configs are omitted.

Tests

We are using pytest for running tests.

Freezing requirements

We are decided to use pip-tools for freezing requirements - it gives much more readable output file with all dependencies listed.