Sign inSign up

coopdevstreball/python

By coopdevstreball

Updated about 3 years ago

Image
0

10K+

coopdevstreball/python repository overview

coopdevstreball/python

This is an enriched python docker image, oriented to save time in CI pipelines. We're currently pinned at 3.8.12 python version.

Skipping install same dependencies every run saves lots of time.
In tests using the official image and installating the dependencies, linters takes ~5/8 min; with this image, the average time is reduced to ~1 min.

Dependencies included

jc==1.18.5

ansible==5.3.0

ansible-lint==5.4.0

yamllint==1.26.3

pre-commit==2.17.0

Use

Just replace the references to original python:3.8.12 image with coopdevstreball/python:3.8.12

Building

Images are building with Gitlab CI/CD within this repo.

Bumping to a new version requires:

  • Change FROM in Dockerfile
  • Update (if needed) dependencies version in requirements.txt
  • Tag the last commit with the (semantic) version.

Tag summary

Content type

Image

Digest

sha256:6cf22c284

Size

353.1 MB

Last updated

about 3 years ago

docker pull coopdevstreball/python:3.8.12-pypi