Sign inSign up

socialwifi/kubeyard-python

By socialwifi

•Updated 7 months ago

Image
0

1.1K

socialwifi/kubeyard-python repository overview

⁠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.

Tag summary

Content type

Image

Digest

sha256:f31e679c0…

Size

408 MB

Last updated

7 months ago

docker pull socialwifi/kubeyard-python